978 lines
36 KiB
PHP
978 lines
36 KiB
PHP
<?php
|
|
return [
|
|
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
|
'timestamp' => 1520350896,
|
|
'checksum' => '7d1d5495e890ef4c0219b2aac73a0b8a',
|
|
'files' => [
|
|
'user/config' => [
|
|
'media' => [
|
|
'file' => 'user/config/media.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'plugins/langswitcher' => [
|
|
'file' => 'user/config/plugins/langswitcher.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'plugins/markdown-notices' => [
|
|
'file' => 'user/config/plugins/markdown-notices.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'plugins/mediaembed' => [
|
|
'file' => 'user/config/plugins/mediaembed.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'plugins/photoswipe' => [
|
|
'file' => 'user/config/plugins/photoswipe.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'plugins/unitegallery' => [
|
|
'file' => 'user/config/plugins/unitegallery.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'security' => [
|
|
'file' => 'user/config/security.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'site' => [
|
|
'file' => 'user/config/site.yaml',
|
|
'modified' => 1520350536
|
|
],
|
|
'streams' => [
|
|
'file' => 'user/config/streams.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'system' => [
|
|
'file' => 'user/config/system.yaml',
|
|
'modified' => 1520350638
|
|
]
|
|
],
|
|
'system/config' => [
|
|
'media' => [
|
|
'file' => 'system/config/media.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'site' => [
|
|
'file' => 'system/config/site.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'streams' => [
|
|
'file' => 'system/config/streams.yaml',
|
|
'modified' => 1520021421
|
|
],
|
|
'system' => [
|
|
'file' => 'system/config/system.yaml',
|
|
'modified' => 1520021421
|
|
]
|
|
],
|
|
'user/plugins' => [
|
|
'plugins/admin' => [
|
|
'file' => 'user/plugins/admin/admin.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/markdown-notices' => [
|
|
'file' => 'user/plugins/markdown-notices/markdown-notices.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/form' => [
|
|
'file' => 'user/plugins/form/form.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/login' => [
|
|
'file' => 'user/plugins/login/login.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/error' => [
|
|
'file' => 'user/plugins/error/error.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/mediaembed' => [
|
|
'file' => 'user/plugins/mediaembed/mediaembed.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/email' => [
|
|
'file' => 'user/plugins/email/email.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/langswitcher' => [
|
|
'file' => 'user/plugins/langswitcher/langswitcher.yaml',
|
|
'modified' => 1520021428
|
|
],
|
|
'plugins/problems' => [
|
|
'file' => 'user/plugins/problems/problems.yaml',
|
|
'modified' => 1520021428
|
|
]
|
|
]
|
|
],
|
|
'data' => [
|
|
'plugins' => [
|
|
'admin' => [
|
|
'enabled' => true,
|
|
'route' => '/admin',
|
|
'cache_enabled' => false,
|
|
'theme' => 'grav',
|
|
'logo_text' => '',
|
|
'body_classes' => '',
|
|
'content_padding' => true,
|
|
'twofa_enabled' => true,
|
|
'sidebar' => [
|
|
'activate' => 'tab',
|
|
'hover_delay' => 100,
|
|
'size' => 'auto'
|
|
],
|
|
'dashboard' => [
|
|
'days_of_stats' => 7
|
|
],
|
|
'widgets' => [
|
|
'dashboard-maintenance' => true,
|
|
'dashboard-statistics' => true,
|
|
'dashboard-notifications' => true,
|
|
'dashboard-feed' => true,
|
|
'dashboard-pages' => true
|
|
],
|
|
'pages' => [
|
|
'show_parents' => 'both'
|
|
],
|
|
'session' => [
|
|
'timeout' => 1800
|
|
],
|
|
'warnings' => [
|
|
'delete_page' => true
|
|
],
|
|
'edit_mode' => 'normal',
|
|
'frontend_pages_target' => '_blank',
|
|
'show_github_msg' => true,
|
|
'pages_list_display_field' => 'title',
|
|
'google_fonts' => true,
|
|
'enable_auto_updates_check' => true,
|
|
'notifications' => [
|
|
'feed' => true,
|
|
'dashboard' => true,
|
|
'plugins' => true,
|
|
'themes' => true
|
|
],
|
|
'popularity' => [
|
|
'enabled' => true,
|
|
'ignore' => [
|
|
0 => '/test*',
|
|
1 => '/modular'
|
|
],
|
|
'history' => [
|
|
'daily' => 30,
|
|
'monthly' => 12,
|
|
'visitors' => 20
|
|
]
|
|
]
|
|
],
|
|
'markdown-notices' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'level_classes' => [
|
|
0 => 'yellow',
|
|
1 => 'red',
|
|
2 => 'blue',
|
|
3 => 'green'
|
|
]
|
|
],
|
|
'form' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'refresh_prevention' => false,
|
|
'files' => [
|
|
'multiple' => false,
|
|
'limit' => 10,
|
|
'destination' => 'self@',
|
|
'avoid_overwriting' => false,
|
|
'random_name' => false,
|
|
'filesize' => 0,
|
|
'accept' => [
|
|
0 => 'image/*'
|
|
]
|
|
]
|
|
],
|
|
'login' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'route' => NULL,
|
|
'redirect_to_login' => true,
|
|
'redirect_after_login' => NULL,
|
|
'route_activate' => '/activate_user',
|
|
'route_forgot' => '/forgot_password',
|
|
'route_reset' => '/reset_password',
|
|
'route_profile' => '/user_profile',
|
|
'route_register' => '/user_register',
|
|
'route_unauthorized' => '/user_unauthorized',
|
|
'dynamic_page_visibility' => false,
|
|
'parent_acl' => false,
|
|
'protect_protected_page_media' => false,
|
|
'rememberme' => [
|
|
'enabled' => true,
|
|
'timeout' => 604800,
|
|
'name' => 'grav-rememberme'
|
|
],
|
|
'max_pw_resets_count' => 0,
|
|
'max_pw_resets_interval' => 60,
|
|
'max_login_count' => 0,
|
|
'max_login_interval' => 2,
|
|
'user_registration' => [
|
|
'enabled' => true,
|
|
'fields' => [
|
|
0 => 'username',
|
|
1 => 'password',
|
|
2 => 'email',
|
|
3 => 'fullname',
|
|
4 => 'title',
|
|
5 => 'level'
|
|
],
|
|
'default_values' => [
|
|
'level' => 'Newbie'
|
|
],
|
|
'access' => [
|
|
'site' => [
|
|
'login' => 'true'
|
|
]
|
|
],
|
|
'redirect_after_registration' => '',
|
|
'options' => [
|
|
'validate_password1_and_password2' => true,
|
|
'set_user_disabled' => false,
|
|
'login_after_registration' => true,
|
|
'send_activation_email' => false,
|
|
'send_notification_email' => false,
|
|
'send_welcome_email' => false
|
|
]
|
|
]
|
|
],
|
|
'error' => [
|
|
'enabled' => true,
|
|
'routes' => [
|
|
404 => '/error'
|
|
]
|
|
],
|
|
'mediaembed' => [
|
|
'enabled' => true,
|
|
'link' => false,
|
|
'built_in_css' => true,
|
|
'built_in_js' => true,
|
|
'media' => [
|
|
'width' => 640,
|
|
'height' => 390,
|
|
'adjust' => true,
|
|
'preview' => true,
|
|
'responsive' => true,
|
|
'protocol' => 'http://'
|
|
],
|
|
'services' => [
|
|
'SoundCloud' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'example' => 'https://soundcloud.com/semiseria/verruckert-ausschnitt',
|
|
'url' => 'w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/{:id}',
|
|
'canonical' => 'http://soundcloud.com/{:id}',
|
|
'endpoint' => 'http://soundcloud.com/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'soundcloud.com/*',
|
|
1 => 'soundcloud.com/*/*',
|
|
2 => 'soundcloud.com/*/sets/*',
|
|
3 => 'soundcloud.com/groups/*',
|
|
4 => 'snd.sc/*'
|
|
],
|
|
'params' => [
|
|
'auto_play' => false,
|
|
'buying' => true,
|
|
'download' => true,
|
|
'hide_related' => false,
|
|
'liking' => true,
|
|
'sharing' => true,
|
|
'show_artwork' => true,
|
|
'show_comments' => true,
|
|
'show_playcount' => true,
|
|
'show_user' => true,
|
|
'visual' => false
|
|
]
|
|
],
|
|
'Spotify' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'http://open.spotify.com/track/{:id}',
|
|
'endpoint' => 'https://embed.spotify.com/oembed/?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'open.spotify.com/track/*',
|
|
1 => 'spoti.fi/*'
|
|
]
|
|
],
|
|
'Flickr' => [
|
|
'enabled' => true,
|
|
'type' => 'photo',
|
|
'canonical' => 'http://www.flickr.com/photos/{:id}',
|
|
'endpoint' => 'http://flickr.com/services/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'flickr.com/photos/*',
|
|
1 => 'flic.kr/*'
|
|
]
|
|
],
|
|
'Imgur' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'http://imgur.com/gallery/{:id}',
|
|
'endpoint' => 'http://api.imgur.com/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'imgur.com/gallery/*',
|
|
1 => 'imgur.com/a/*',
|
|
2 => 'imgur.com/*'
|
|
]
|
|
],
|
|
'Instagram' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'http://instagram.com/p/{:id}',
|
|
'endpoint' => 'http://api.instagram.com/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'instagr.am/p/*',
|
|
1 => 'instagram.com/p/*'
|
|
]
|
|
],
|
|
'Dailymotion' => [
|
|
'enabled' => true,
|
|
'type' => 'video',
|
|
'url' => 'www.dailymotion.com/embed/video/{:id}',
|
|
'canonical' => 'http://dailymotion.com/video/{:id}',
|
|
'endpoint' => 'http://www.dailymotion.com/services/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'dailymotion.com/video/*',
|
|
1 => 'dailymotion.com/*/video/*',
|
|
2 => 'dai\\.ly/*'
|
|
],
|
|
'params' => [
|
|
'quality' => 1080
|
|
]
|
|
],
|
|
'YouTube' => [
|
|
'enabled' => true,
|
|
'type' => 'video',
|
|
'url' => 'www.youtube.com/embed/{:id}',
|
|
'canonical' => 'http://www.youtube.com/watch?v={:id}',
|
|
'endpoint' => 'http://www.youtube.com/oembed?url={:canonical}&format=json',
|
|
'schemes' => [
|
|
0 => 'youtube.com/watch?*v=*',
|
|
1 => 'youtube.com/embed/*',
|
|
2 => 'youtube.com/v/*',
|
|
3 => 'youtube.com/?*v=*',
|
|
4 => 'youtu.be/*'
|
|
],
|
|
'params' => [
|
|
'autoplay' => 0,
|
|
'modestbranding' => 1,
|
|
'theme' => 'light'
|
|
]
|
|
],
|
|
'Vimeo' => [
|
|
'enabled' => true,
|
|
'type' => 'video',
|
|
'url' => 'player.vimeo.com/video/{:id}',
|
|
'canonical' => 'https://vimeo.com/{:id}',
|
|
'endpoint' => 'http://vimeo.com/api/oembed.json?url={:canonical}',
|
|
'schemes' => [
|
|
0 => 'vimeo.com/*',
|
|
1 => 'vimeo.com/channels/*/*',
|
|
2 => 'vimeo.com/groups/*/videos/*'
|
|
],
|
|
'params' => [
|
|
'autoplay' => 0
|
|
]
|
|
],
|
|
'Github' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'https://gist.github.com/{:id}',
|
|
'endpoint' => 'https://gist.github.com/{:id}.json',
|
|
'schemes' => [
|
|
0 => 'gist.github.com/*',
|
|
1 => 'gist.github.com/*/*',
|
|
2 => 'gist.github.com/*?*'
|
|
]
|
|
],
|
|
'Slides' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'http://slides.com/{:id}',
|
|
'endpoint' => 'http://slides.com/{:id}',
|
|
'schemes' => [
|
|
0 => 'slides.com/*',
|
|
1 => 'slid.es/*'
|
|
],
|
|
'params' => [
|
|
'style' => 'light',
|
|
'width' => 1920,
|
|
'height' => 1400
|
|
]
|
|
],
|
|
'Twitter' => [
|
|
'enabled' => true,
|
|
'type' => 'rich',
|
|
'canonical' => 'https://twitter.com/{:id}',
|
|
'endpoint' => 'https://api.twitter.com/1/statuses/oembed.json?url={:canonical}',
|
|
'schemes' => [
|
|
0 => 'twitter.com/*',
|
|
1 => 'twitter.com/*/*'
|
|
]
|
|
],
|
|
'GitHub' => [
|
|
'enabled' => true
|
|
]
|
|
]
|
|
],
|
|
'email' => [
|
|
'enabled' => true,
|
|
'from' => NULL,
|
|
'from_name' => NULL,
|
|
'to' => NULL,
|
|
'to_name' => NULL,
|
|
'mailer' => [
|
|
'engine' => 'sendmail',
|
|
'smtp' => [
|
|
'server' => 'localhost',
|
|
'port' => 25,
|
|
'encryption' => 'none',
|
|
'user' => '',
|
|
'password' => ''
|
|
],
|
|
'sendmail' => [
|
|
'bin' => '/usr/sbin/sendmail -bs'
|
|
]
|
|
],
|
|
'content_type' => 'text/html',
|
|
'debug' => false
|
|
],
|
|
'langswitcher' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'untranslated_pages_behavior' => 'redirect'
|
|
],
|
|
'problems' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true
|
|
],
|
|
'photoswipe' => [
|
|
'enabled' => true,
|
|
'active' => true
|
|
],
|
|
'unitegallery' => [
|
|
'enabled' => true,
|
|
'assets_in_meta' => true,
|
|
'gallery_theme' => 'default',
|
|
'gallery_div_id' => 'unite-gallery',
|
|
'thumb_width' => 600,
|
|
'thumb_height' => 600
|
|
]
|
|
],
|
|
'media' => [
|
|
'types' => [
|
|
'defaults' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb.png',
|
|
'mime' => 'application/octet-stream',
|
|
'image' => [
|
|
'filters' => [
|
|
'default' => [
|
|
0 => 'enableProgressive'
|
|
]
|
|
]
|
|
]
|
|
],
|
|
'jpg' => [
|
|
'type' => 'image',
|
|
'thumb' => 'media/thumb-jpg.png',
|
|
'mime' => 'image/jpeg'
|
|
],
|
|
'jpe' => [
|
|
'type' => 'image',
|
|
'thumb' => 'media/thumb-jpg.png',
|
|
'mime' => 'image/jpeg'
|
|
],
|
|
'jpeg' => [
|
|
'type' => 'image',
|
|
'thumb' => 'media/thumb-jpg.png',
|
|
'mime' => 'image/jpeg'
|
|
],
|
|
'png' => [
|
|
'type' => 'image',
|
|
'thumb' => 'media/thumb-png.png',
|
|
'mime' => 'image/png'
|
|
],
|
|
'gif' => [
|
|
'type' => 'animated',
|
|
'thumb' => 'media/thumb-gif.png',
|
|
'mime' => 'image/gif'
|
|
],
|
|
'svg' => [
|
|
'type' => 'vector',
|
|
'thumb' => 'media/thumb-svg.png',
|
|
'mime' => 'image/svg+xml'
|
|
],
|
|
'mp4' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-mp4.png',
|
|
'mime' => 'video/mp4'
|
|
],
|
|
'mov' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-mov.png',
|
|
'mime' => 'video/quicktime'
|
|
],
|
|
'm4v' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-m4v.png',
|
|
'mime' => 'video/x-m4v'
|
|
],
|
|
'swf' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-swf.png',
|
|
'mime' => 'video/x-flv'
|
|
],
|
|
'flv' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-flv.png',
|
|
'mime' => 'video/x-flv'
|
|
],
|
|
'webm' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-webm.png',
|
|
'mime' => 'video/webm'
|
|
],
|
|
'ogv' => [
|
|
'type' => 'video',
|
|
'thumb' => 'media/thumb-ogg.png',
|
|
'mime' => 'video/ogg'
|
|
],
|
|
'mp3' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-mp3.png',
|
|
'mime' => 'audio/mp3'
|
|
],
|
|
'ogg' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-ogg.png',
|
|
'mime' => 'audio/ogg'
|
|
],
|
|
'wma' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-wma.png',
|
|
'mime' => 'audio/wma'
|
|
],
|
|
'm4a' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-m4a.png',
|
|
'mime' => 'audio/m4a'
|
|
],
|
|
'wav' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-wav.png',
|
|
'mime' => 'audio/wav'
|
|
],
|
|
'aiff' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-aif.png',
|
|
'mime' => 'audio/aiff'
|
|
],
|
|
'aif' => [
|
|
'type' => 'audio',
|
|
'thumb' => 'media/thumb-aif.png',
|
|
'mime' => 'audio/aif'
|
|
],
|
|
'txt' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-txt.png',
|
|
'mime' => 'text/plain'
|
|
],
|
|
'xml' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-xml.png',
|
|
'mime' => 'application/xml'
|
|
],
|
|
'doc' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-doc.png',
|
|
'mime' => 'application/msword'
|
|
],
|
|
'docx' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-docx.png',
|
|
'mime' => 'application/msword'
|
|
],
|
|
'xls' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-xls.png',
|
|
'mime' => 'application/vnd.ms-excel'
|
|
],
|
|
'xlsx' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-xlsx.png',
|
|
'mime' => 'application/vnd.ms-excel'
|
|
],
|
|
'ppt' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-ppt.png',
|
|
'mime' => 'application/vnd.ms-powerpoint'
|
|
],
|
|
'pptx' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-pptx.png',
|
|
'mime' => 'application/vnd.ms-powerpoint'
|
|
],
|
|
'pps' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-pps.png',
|
|
'mime' => 'application/vnd.ms-powerpoint'
|
|
],
|
|
'rtf' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-rtf.png',
|
|
'mime' => 'application/rtf'
|
|
],
|
|
'bmp' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-bmp.png',
|
|
'mime' => 'image/bmp'
|
|
],
|
|
'tiff' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-tiff.png',
|
|
'mime' => 'image/tiff'
|
|
],
|
|
'mpeg' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-mpg.png',
|
|
'mime' => 'video/mpeg'
|
|
],
|
|
'mpg' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-mpg.png',
|
|
'mime' => 'video/mpeg'
|
|
],
|
|
'mpe' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-mpe.png',
|
|
'mime' => 'video/mpeg'
|
|
],
|
|
'avi' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-avi.png',
|
|
'mime' => 'video/msvideo'
|
|
],
|
|
'wmv' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-wmv.png',
|
|
'mime' => 'video/x-ms-wmv'
|
|
],
|
|
'html' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-html.png',
|
|
'mime' => 'text/html'
|
|
],
|
|
'htm' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-html.png',
|
|
'mime' => 'text/html'
|
|
],
|
|
'ics' => [
|
|
'type' => 'iCal',
|
|
'thumb' => 'media/thumb-ics.png',
|
|
'mime' => 'text/calendar'
|
|
],
|
|
'pdf' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-pdf.png',
|
|
'mime' => 'application/pdf'
|
|
],
|
|
'ai' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-ai.png',
|
|
'mime' => 'image/ai'
|
|
],
|
|
'psd' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-psd.png',
|
|
'mime' => 'image/psd'
|
|
],
|
|
'zip' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-zip.png',
|
|
'mime' => 'application/zip'
|
|
],
|
|
'7z' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-7z.png',
|
|
'mime' => 'application/x-7z-compressed'
|
|
],
|
|
'gz' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-gz.png',
|
|
'mime' => 'application/gzip'
|
|
],
|
|
'tar' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-tar.png',
|
|
'mime' => 'application/x-tar'
|
|
],
|
|
'css' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-css.png',
|
|
'mime' => 'text/css'
|
|
],
|
|
'js' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-js.png',
|
|
'mime' => 'application/javascript'
|
|
],
|
|
'json' => [
|
|
'type' => 'file',
|
|
'thumb' => 'media/thumb-json.png',
|
|
'mime' => 'application/json'
|
|
]
|
|
]
|
|
],
|
|
'site' => [
|
|
'title' => 'SITE.TITLE',
|
|
'default_lang' => 'fr',
|
|
'author' => [
|
|
'name' => 'Kevin Tessier',
|
|
'email' => 'kevin@figureslibres.io'
|
|
],
|
|
'taxonomies' => [
|
|
0 => 'category',
|
|
1 => 'tag'
|
|
],
|
|
'metadata' => [
|
|
'description' => 'Grav is an easy to use, yet powerful, open source flat-file CMS'
|
|
],
|
|
'summary' => [
|
|
'enabled' => true,
|
|
'format' => 'short',
|
|
'size' => 300,
|
|
'delimiter' => '==='
|
|
],
|
|
'redirects' => NULL,
|
|
'routes' => NULL,
|
|
'blog' => [
|
|
'route' => '/blog'
|
|
]
|
|
],
|
|
'streams' => [
|
|
'schemes' => [
|
|
'image' => [
|
|
'type' => 'ReadOnlyStream',
|
|
'paths' => [
|
|
0 => 'user://images',
|
|
1 => 'system://images'
|
|
]
|
|
],
|
|
'page' => [
|
|
'type' => 'ReadOnlyStream',
|
|
'paths' => [
|
|
0 => 'user://pages'
|
|
]
|
|
],
|
|
'account' => [
|
|
'type' => 'ReadOnlyStream',
|
|
'paths' => [
|
|
0 => 'user://accounts'
|
|
]
|
|
]
|
|
]
|
|
],
|
|
'system' => [
|
|
'absolute_urls' => false,
|
|
'timezone' => '',
|
|
'default_locale' => NULL,
|
|
'param_sep' => ':',
|
|
'wrapped_site' => false,
|
|
'reverse_proxy_setup' => false,
|
|
'force_ssl' => false,
|
|
'force_lowercase_urls' => true,
|
|
'custom_base_url' => '',
|
|
'username_regex' => '^[a-z0-9_-]{3,16}$',
|
|
'pwd_regex' => '(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,}',
|
|
'intl_enabled' => true,
|
|
'languages' => [
|
|
'supported' => [
|
|
0 => 'fr',
|
|
1 => 'en'
|
|
],
|
|
'include_default_lang' => true,
|
|
'translations' => true,
|
|
'translations_fallback' => true,
|
|
'session_store_active' => true,
|
|
'http_accept_language' => true,
|
|
'override_locale' => false
|
|
],
|
|
'home' => [
|
|
'alias' => '/home-fr',
|
|
'hide_in_urls' => false,
|
|
'aliases' => [
|
|
'fr' => '/home-fr',
|
|
'en' => '/home-en'
|
|
]
|
|
],
|
|
'pages' => [
|
|
'theme' => 'ethica',
|
|
'order' => [
|
|
'by' => 'default',
|
|
'dir' => 'asc'
|
|
],
|
|
'list' => [
|
|
'count' => 20
|
|
],
|
|
'dateformat' => [
|
|
'default' => NULL,
|
|
'short' => 'jS M Y',
|
|
'long' => 'F jS \\a\\t g:ia'
|
|
],
|
|
'publish_dates' => true,
|
|
'process' => [
|
|
'markdown' => true,
|
|
'twig' => false
|
|
],
|
|
'twig_first' => false,
|
|
'never_cache_twig' => false,
|
|
'events' => [
|
|
'page' => true,
|
|
'twig' => true
|
|
],
|
|
'markdown' => [
|
|
'extra' => false,
|
|
'auto_line_breaks' => false,
|
|
'auto_url_links' => true,
|
|
'escape_markup' => true,
|
|
'special_chars' => [
|
|
'>' => 'gt',
|
|
'<' => 'lt'
|
|
]
|
|
],
|
|
'types' => [
|
|
0 => 'txt',
|
|
1 => 'xml',
|
|
2 => 'html',
|
|
3 => 'htm',
|
|
4 => 'json',
|
|
5 => 'rss',
|
|
6 => 'atom'
|
|
],
|
|
'append_url_extension' => '',
|
|
'expires' => 604800,
|
|
'cache_control' => NULL,
|
|
'last_modified' => false,
|
|
'etag' => false,
|
|
'vary_accept_encoding' => false,
|
|
'redirect_default_route' => true,
|
|
'redirect_default_code' => '302',
|
|
'redirect_trailing_slash' => true,
|
|
'ignore_files' => [
|
|
0 => '.DS_Store'
|
|
],
|
|
'ignore_folders' => [
|
|
0 => '.git',
|
|
1 => '.idea'
|
|
],
|
|
'ignore_hidden' => true,
|
|
'url_taxonomy_filters' => true,
|
|
'frontmatter' => [
|
|
'process_twig' => false,
|
|
'ignore_fields' => [
|
|
0 => 'form',
|
|
1 => 'forms'
|
|
]
|
|
]
|
|
],
|
|
'cache' => [
|
|
'enabled' => false,
|
|
'check' => [
|
|
'method' => 'file'
|
|
],
|
|
'driver' => 'auto',
|
|
'prefix' => 'g',
|
|
'clear_images_by_default' => true,
|
|
'cli_compatibility' => false,
|
|
'lifetime' => 604800,
|
|
'gzip' => false,
|
|
'allow_webserver_gzip' => false,
|
|
'redis' => [
|
|
'socket' => false
|
|
]
|
|
],
|
|
'twig' => [
|
|
'cache' => true,
|
|
'debug' => true,
|
|
'auto_reload' => true,
|
|
'autoescape' => false,
|
|
'undefined_functions' => true,
|
|
'undefined_filters' => true,
|
|
'umask_fix' => false
|
|
],
|
|
'assets' => [
|
|
'css_pipeline' => false,
|
|
'css_pipeline_include_externals' => true,
|
|
'css_pipeline_before_excludes' => true,
|
|
'css_minify' => true,
|
|
'css_minify_windows' => false,
|
|
'css_rewrite' => true,
|
|
'js_pipeline' => false,
|
|
'js_pipeline_include_externals' => true,
|
|
'js_pipeline_before_excludes' => true,
|
|
'js_minify' => true,
|
|
'enable_asset_timestamp' => false,
|
|
'collections' => [
|
|
'jquery' => 'system://assets/jquery/jquery-2.x.min.js'
|
|
]
|
|
],
|
|
'errors' => [
|
|
'display' => '1',
|
|
'log' => true
|
|
],
|
|
'debugger' => [
|
|
'enabled' => false,
|
|
'shutdown' => [
|
|
'close_connection' => true
|
|
],
|
|
'twig' => true
|
|
],
|
|
'images' => [
|
|
'default_image_quality' => 85,
|
|
'cache_all' => false,
|
|
'cache_perms' => '0755',
|
|
'debug' => false,
|
|
'auto_fix_orientation' => false
|
|
],
|
|
'media' => [
|
|
'enable_media_timestamp' => false,
|
|
'unsupported_inline_types' => [
|
|
|
|
],
|
|
'allowed_fallback_types' => [
|
|
|
|
],
|
|
'auto_metadata_exif' => false,
|
|
'upload_limit' => 2097152
|
|
],
|
|
'session' => [
|
|
'enabled' => true,
|
|
'timeout' => 1800,
|
|
'name' => 'grav-site',
|
|
'secure' => false,
|
|
'httponly' => true,
|
|
'split' => true,
|
|
'path' => NULL
|
|
],
|
|
'gpm' => [
|
|
'releases' => 'stable',
|
|
'proxy_url' => NULL,
|
|
'method' => 'auto',
|
|
'verify_peer' => true,
|
|
'official_gpm_only' => true
|
|
]
|
|
],
|
|
'security' => [
|
|
'salt' => 'ZJijUxdDontm4k'
|
|
]
|
|
]
|
|
];
|