1191 lines
41 KiB
PHP
1191 lines
41 KiB
PHP
<?php
|
|
return [
|
|
'@class' => 'Grav\\Common\\Config\\CompiledConfig',
|
|
'timestamp' => 1582126854,
|
|
'checksum' => '3ad2da344410bf2a4fe584269146b304',
|
|
'files' => [
|
|
'user/config' => [
|
|
'backups' => [
|
|
'file' => 'user/config/backups.yaml',
|
|
'modified' => 1582124592
|
|
],
|
|
'media' => [
|
|
'file' => 'user/config/media.yaml',
|
|
'modified' => 1582124592
|
|
],
|
|
'plugins/git-sync' => [
|
|
'file' => 'user/config/plugins/git-sync.yaml',
|
|
'modified' => 1582126775
|
|
],
|
|
'scheduler' => [
|
|
'file' => 'user/config/scheduler.yaml',
|
|
'modified' => 1582124592
|
|
],
|
|
'security' => [
|
|
'file' => 'user/config/security.yaml',
|
|
'modified' => 1582124591
|
|
],
|
|
'site' => [
|
|
'file' => 'user/config/site.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'streams' => [
|
|
'file' => 'user/config/streams.yaml',
|
|
'modified' => 1582124592
|
|
],
|
|
'system' => [
|
|
'file' => 'user/config/system.yaml',
|
|
'modified' => 1582126853
|
|
]
|
|
],
|
|
'system/config' => [
|
|
'backups' => [
|
|
'file' => 'system/config/backups.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'media' => [
|
|
'file' => 'system/config/media.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'security' => [
|
|
'file' => 'system/config/security.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'site' => [
|
|
'file' => 'system/config/site.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'streams' => [
|
|
'file' => 'system/config/streams.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'system' => [
|
|
'file' => 'system/config/system.yaml',
|
|
'modified' => 1581466810
|
|
]
|
|
],
|
|
'user/plugins' => [
|
|
'plugins/external_links' => [
|
|
'file' => 'user/plugins/external_links/external_links.yaml',
|
|
'modified' => 1582124785
|
|
],
|
|
'plugins/shortcode-core' => [
|
|
'file' => 'user/plugins/shortcode-core/shortcode-core.yaml',
|
|
'modified' => 1582124797
|
|
],
|
|
'plugins/problems' => [
|
|
'file' => 'user/plugins/problems/problems.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/email' => [
|
|
'file' => 'user/plugins/email/email.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/langswitcher' => [
|
|
'file' => 'user/plugins/langswitcher/langswitcher.yaml',
|
|
'modified' => 1582124791
|
|
],
|
|
'plugins/tntsearch' => [
|
|
'file' => 'user/plugins/tntsearch/tntsearch.yaml',
|
|
'modified' => 1582124800
|
|
],
|
|
'plugins/highlight' => [
|
|
'file' => 'user/plugins/highlight/highlight.yaml',
|
|
'modified' => 1582124790
|
|
],
|
|
'plugins/git-sync' => [
|
|
'file' => 'user/plugins/git-sync/git-sync.yaml',
|
|
'modified' => 1582124788
|
|
],
|
|
'plugins/youtube' => [
|
|
'file' => 'user/plugins/youtube/youtube.yaml',
|
|
'modified' => 1582124801
|
|
],
|
|
'plugins/simplesearch' => [
|
|
'file' => 'user/plugins/simplesearch/simplesearch.yaml',
|
|
'modified' => 1582124796
|
|
],
|
|
'plugins/presentation-deckset' => [
|
|
'file' => 'user/plugins/presentation-deckset/presentation-deckset.yaml',
|
|
'modified' => 1582124794
|
|
],
|
|
'plugins/login' => [
|
|
'file' => 'user/plugins/login/login.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/breadcrumbs' => [
|
|
'file' => 'user/plugins/breadcrumbs/breadcrumbs.yaml',
|
|
'modified' => 1582124781
|
|
],
|
|
'plugins/admin' => [
|
|
'file' => 'user/plugins/admin/admin.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/markdown-notices' => [
|
|
'file' => 'user/plugins/markdown-notices/markdown-notices.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/error' => [
|
|
'file' => 'user/plugins/error/error.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/form' => [
|
|
'file' => 'user/plugins/form/form.yaml',
|
|
'modified' => 1581466810
|
|
],
|
|
'plugins/feed' => [
|
|
'file' => 'user/plugins/feed/feed.yaml',
|
|
'modified' => 1582124786
|
|
],
|
|
'plugins/presentation' => [
|
|
'file' => 'user/plugins/presentation/presentation.yaml',
|
|
'modified' => 1582124793
|
|
]
|
|
]
|
|
],
|
|
'data' => [
|
|
'plugins' => [
|
|
'external_links' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'weight' => 0,
|
|
'exclude' => [
|
|
'classes' => [
|
|
0 => 'exclude'
|
|
],
|
|
'domains' => NULL
|
|
],
|
|
'links' => [
|
|
'www' => false,
|
|
'redirects' => false,
|
|
'schemes' => [
|
|
0 => 'http',
|
|
1 => 'https',
|
|
2 => 'ftp',
|
|
3 => 'irc',
|
|
4 => 'mailto',
|
|
5 => 'news',
|
|
6 => 'nntp',
|
|
7 => 'rtsp',
|
|
8 => 'sftp',
|
|
9 => 'ssh',
|
|
10 => 'tel',
|
|
11 => 'telnet',
|
|
12 => 'webcal'
|
|
]
|
|
],
|
|
'process' => true,
|
|
'title' => false,
|
|
'no_follow' => true,
|
|
'target' => '_blank',
|
|
'mode' => 'active'
|
|
],
|
|
'shortcode-core' => [
|
|
'enabled' => true,
|
|
'active' => true,
|
|
'active_admin' => true,
|
|
'admin_pages_only' => true,
|
|
'parser' => 'regular',
|
|
'custom_shortcodes' => NULL,
|
|
'fontawesome' => [
|
|
'load' => true,
|
|
'url' => '//maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css',
|
|
'v5' => false
|
|
]
|
|
],
|
|
'problems' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true
|
|
],
|
|
'email' => [
|
|
'enabled' => true,
|
|
'from' => NULL,
|
|
'from_name' => NULL,
|
|
'to' => NULL,
|
|
'to_name' => NULL,
|
|
'queue' => [
|
|
'enabled' => false,
|
|
'flush_frequency' => '* * * * *',
|
|
'flush_msg_limit' => 10,
|
|
'flush_time_limit' => 100
|
|
],
|
|
'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' => 'none'
|
|
],
|
|
'tntsearch' => [
|
|
'enabled' => true,
|
|
'search_route' => '/search',
|
|
'query_route' => '/s',
|
|
'built_in_css' => true,
|
|
'built_in_js' => true,
|
|
'built_in_search_page' => true,
|
|
'enable_admin_page_events' => true,
|
|
'search_type' => 'auto',
|
|
'fuzzy' => false,
|
|
'phrases' => true,
|
|
'stemmer' => 'default',
|
|
'display_route' => true,
|
|
'display_hits' => true,
|
|
'display_time' => true,
|
|
'live_uri_update' => true,
|
|
'limit' => 20,
|
|
'min' => 3,
|
|
'snippet' => 300,
|
|
'index_page_by_default' => true,
|
|
'scheduled_index' => [
|
|
'enabled' => false,
|
|
'at' => '0 */3 * * *',
|
|
'logs' => 'logs/tntsearch-index.out'
|
|
],
|
|
'filter' => [
|
|
'items' => [
|
|
0 => 'root@.descendants'
|
|
]
|
|
],
|
|
'powered_by' => true,
|
|
'search_object_type' => 'Grav'
|
|
],
|
|
'highlight' => [
|
|
'enabled' => true,
|
|
'theme' => 'default',
|
|
'lines' => false
|
|
],
|
|
'git-sync' => [
|
|
'enabled' => true,
|
|
'folders' => [
|
|
0 => 'pages'
|
|
],
|
|
'sync' => [
|
|
'on_save' => true,
|
|
'on_delete' => true,
|
|
'on_media' => true,
|
|
'cron_enable' => false,
|
|
'cron_at' => '0 12,23 * * *'
|
|
],
|
|
'local_repository' => NULL,
|
|
'repository' => 'https://git.web.rug.nl/p220478/dedijk4.git',
|
|
'user' => 'p220478',
|
|
'password' => 'gitsync-def5020056def74f9f585cc282d25afdabbe2e44c1535621e67a04f808f97328521d45d17e7fdd502e62a8b9508df233c986470fcff4ece89d8f2fffc2edd81a306d15e84ba60d9fb39e81d4a5b88287f620703bcc35e7ac982f198382ce4860',
|
|
'webhook' => '/_git-sync-2d98c7f17ee0',
|
|
'webhook_enabled' => '0',
|
|
'webhook_secret' => 'c0d75005e7524829ff2f7bf093bc8983fcd6da3442fd5bf7',
|
|
'branch' => 'master',
|
|
'remote' => [
|
|
'name' => 'origin',
|
|
'branch' => 'master'
|
|
],
|
|
'git' => [
|
|
'author' => 'gituser',
|
|
'message' => '(Grav GitSync) Automatic Commit',
|
|
'name' => 'GitSync',
|
|
'email' => 'git-sync@trilby.media',
|
|
'bin' => 'git'
|
|
],
|
|
'logging' => false
|
|
],
|
|
'youtube' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'add_editor_button' => true,
|
|
'player_parameters' => [
|
|
'autoplay' => 0,
|
|
'cc_load_policy' => 0,
|
|
'color' => 'red',
|
|
'controls' => 1,
|
|
'disablekb' => 0,
|
|
'enablejsapi' => 0,
|
|
'fs' => 1,
|
|
'hl' => '',
|
|
'iv_load_policy' => 1,
|
|
'loop' => 0,
|
|
'modestbranding' => 0,
|
|
'origin' => '',
|
|
'playsinline' => 0,
|
|
'rel' => 1,
|
|
'showinfo' => 1,
|
|
'vq' => 'default'
|
|
],
|
|
'privacy_enhanced_mode' => false
|
|
],
|
|
'simplesearch' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'built_in_js' => true,
|
|
'display_button' => false,
|
|
'min_query_length' => 3,
|
|
'route' => '/search',
|
|
'search_content' => 'rendered',
|
|
'template' => 'simplesearch_results',
|
|
'filters' => [
|
|
'category' => NULL
|
|
],
|
|
'filter_combinator' => 'and',
|
|
'ignore_accented_characters' => false,
|
|
'order' => [
|
|
'by' => 'date',
|
|
'dir' => 'desc'
|
|
]
|
|
],
|
|
'presentation-deckset' => [
|
|
'enabled' => true
|
|
],
|
|
'login' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'route' => NULL,
|
|
'redirect_to_login' => true,
|
|
'redirect_after_login' => NULL,
|
|
'redirect_after_logout' => '/',
|
|
'route_activate' => '/activate_user',
|
|
'route_forgot' => '/forgot_password',
|
|
'route_reset' => '/reset_password',
|
|
'route_profile' => '/user_profile',
|
|
'route_register' => '/user_register',
|
|
'route_unauthorized' => '/user_unauthorized',
|
|
'twofa_enabled' => false,
|
|
'dynamic_page_visibility' => false,
|
|
'parent_acl' => false,
|
|
'protect_protected_page_media' => false,
|
|
'rememberme' => [
|
|
'enabled' => true,
|
|
'timeout' => 604800,
|
|
'name' => 'grav-rememberme'
|
|
],
|
|
'max_pw_resets_count' => 2,
|
|
'max_pw_resets_interval' => 60,
|
|
'max_login_count' => 5,
|
|
'max_login_interval' => 10,
|
|
'ipv6_subnet_size' => 64,
|
|
'user_registration' => [
|
|
'enabled' => false,
|
|
'fields' => [
|
|
0 => 'username',
|
|
1 => 'password',
|
|
2 => 'email',
|
|
3 => 'fullname',
|
|
4 => 'title',
|
|
5 => 'level',
|
|
6 => 'twofa_enabled'
|
|
],
|
|
'default_values' => [
|
|
'level' => 'Newbie'
|
|
],
|
|
'access' => [
|
|
'site' => [
|
|
'login' => 'true'
|
|
]
|
|
],
|
|
'redirect_after_registration' => '',
|
|
'redirect_after_activation' => '',
|
|
'options' => [
|
|
'validate_password1_and_password2' => true,
|
|
'set_user_disabled' => false,
|
|
'login_after_registration' => false,
|
|
'send_activation_email' => false,
|
|
'manually_enable' => false,
|
|
'send_notification_email' => false,
|
|
'send_welcome_email' => false
|
|
]
|
|
]
|
|
],
|
|
'breadcrumbs' => [
|
|
'enabled' => true,
|
|
'show_all' => true,
|
|
'built_in_css' => true,
|
|
'include_home' => true,
|
|
'include_current' => true,
|
|
'icon_home' => '',
|
|
'icon_divider_classes' => 'fa fa-angle-right',
|
|
'link_trailing' => false
|
|
],
|
|
'admin' => [
|
|
'enabled' => true,
|
|
'route' => '/admin',
|
|
'cache_enabled' => false,
|
|
'theme' => 'grav',
|
|
'logo_text' => '',
|
|
'body_classes' => '',
|
|
'content_padding' => true,
|
|
'twofa_enabled' => true,
|
|
'log_viewer_files' => [
|
|
0 => 'grav',
|
|
1 => 'email'
|
|
],
|
|
'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',
|
|
'show_modular' => true
|
|
],
|
|
'session' => [
|
|
'timeout' => 1800
|
|
],
|
|
'warnings' => [
|
|
'delete_page' => true,
|
|
'secure_delete' => false
|
|
],
|
|
'edit_mode' => 'normal',
|
|
'frontend_preview_target' => 'inline',
|
|
'show_github_msg' => true,
|
|
'pages_list_display_field' => 'title',
|
|
'google_fonts' => false,
|
|
'admin_icons' => 'line-awesome',
|
|
'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,
|
|
'base_classes' => 'notices',
|
|
'level_classes' => [
|
|
0 => 'yellow',
|
|
1 => 'red',
|
|
2 => 'blue',
|
|
3 => 'green'
|
|
]
|
|
],
|
|
'error' => [
|
|
'enabled' => true,
|
|
'routes' => [
|
|
404 => '/error'
|
|
]
|
|
],
|
|
'form' => [
|
|
'enabled' => true,
|
|
'built_in_css' => true,
|
|
'inline_css' => true,
|
|
'refresh_prevention' => false,
|
|
'client_side_validation' => true,
|
|
'inline_errors' => false,
|
|
'files' => [
|
|
'multiple' => false,
|
|
'limit' => 10,
|
|
'destination' => 'self@',
|
|
'avoid_overwriting' => false,
|
|
'random_name' => false,
|
|
'filesize' => 0,
|
|
'accept' => [
|
|
0 => 'image/*'
|
|
]
|
|
],
|
|
'recaptcha' => [
|
|
'version' => '2-checkbox',
|
|
'theme' => 'light',
|
|
'site_key' => NULL,
|
|
'secret_key' => NULL
|
|
]
|
|
],
|
|
'feed' => [
|
|
'enabled' => true,
|
|
'limit' => 10,
|
|
'description' => 'My Feed Description',
|
|
'lang' => 'en-us',
|
|
'length' => 500,
|
|
'enable_json_feed' => false
|
|
],
|
|
'presentation' => [
|
|
'enabled' => true,
|
|
'theme' => 'moon',
|
|
'order' => [
|
|
'by' => 'folder',
|
|
'dir' => 'asc'
|
|
],
|
|
'all_assets' => false,
|
|
'theme_css' => true,
|
|
'builtin_css' => true,
|
|
'builtin_js' => true,
|
|
'plugin_css' => true,
|
|
'plugin_js' => true,
|
|
'textsizing' => true,
|
|
'sync' => 'none',
|
|
'api_route' => 'presentationapi',
|
|
'poll_timeout' => 2000,
|
|
'poll_retry_limit' => 10,
|
|
'token_auth' => false,
|
|
'token' => 'Hd4HFdPvbpKzTqz',
|
|
'admin_async_save' => false,
|
|
'admin_async_save_typing' => false,
|
|
'footer' => '',
|
|
'transition' => true,
|
|
'shortcodes' => true,
|
|
'shortcode_classes' => 'presentation-iframe',
|
|
'unwrap_images' => true,
|
|
'content' => 'Content',
|
|
'parser' => 'Parser',
|
|
'transport' => 'Transport',
|
|
'shortcode_parser' => 'RegularParser',
|
|
'breakpoints' => [
|
|
240 => '16',
|
|
320 => '20',
|
|
576 => '24',
|
|
768 => '28',
|
|
992 => '32',
|
|
1200 => '36',
|
|
1600 => '40'
|
|
],
|
|
'options' => [
|
|
'width' => '100%',
|
|
'height' => '100%',
|
|
'margin' => '0',
|
|
'minScale' => '1',
|
|
'maxScale' => '1',
|
|
'transition' => 'fade',
|
|
'controlsTutorial' => 'false',
|
|
'history' => 'true',
|
|
'display' => 'flex',
|
|
'pdfSeparateFragments' => false
|
|
]
|
|
]
|
|
],
|
|
'backups' => [
|
|
'purge' => [
|
|
'trigger' => 'space',
|
|
'max_backups_count' => 25,
|
|
'max_backups_space' => 5,
|
|
'max_backups_time' => 365
|
|
],
|
|
'profiles' => [
|
|
0 => [
|
|
'name' => 'Default Site Backup',
|
|
'root' => '/',
|
|
'schedule' => false,
|
|
'schedule_at' => '0 3 * * *',
|
|
'exclude_paths' => '/backup
|
|
/cache
|
|
/images
|
|
/logs
|
|
/tmp',
|
|
'exclude_files' => '.DS_Store
|
|
.git
|
|
.svn
|
|
.hg
|
|
.idea
|
|
.vscode
|
|
node_modules'
|
|
]
|
|
]
|
|
],
|
|
'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' => 'video',
|
|
'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'
|
|
]
|
|
]
|
|
],
|
|
'security' => [
|
|
'xss_whitelist' => [
|
|
0 => 'admin.super'
|
|
],
|
|
'xss_enabled' => [
|
|
'on_events' => true,
|
|
'invalid_protocols' => true,
|
|
'moz_binding' => true,
|
|
'html_inline_styles' => true,
|
|
'dangerous_tags' => true
|
|
],
|
|
'xss_invalid_protocols' => [
|
|
0 => 'javascript',
|
|
1 => 'livescript',
|
|
2 => 'vbscript',
|
|
3 => 'mocha',
|
|
4 => 'feed',
|
|
5 => 'data'
|
|
],
|
|
'xss_dangerous_tags' => [
|
|
0 => 'applet',
|
|
1 => 'meta',
|
|
2 => 'xml',
|
|
3 => 'blink',
|
|
4 => 'link',
|
|
5 => 'style',
|
|
6 => 'script',
|
|
7 => 'embed',
|
|
8 => 'object',
|
|
9 => 'iframe',
|
|
10 => 'frame',
|
|
11 => 'frameset',
|
|
12 => 'ilayer',
|
|
13 => 'layer',
|
|
14 => 'bgsound',
|
|
15 => 'title',
|
|
16 => 'base'
|
|
],
|
|
'uploads_dangerous_extensions' => [
|
|
0 => 'php',
|
|
1 => 'html',
|
|
2 => 'htm',
|
|
3 => 'js',
|
|
4 => 'exe'
|
|
],
|
|
'salt' => 'FbOdQy2zP1YIS9'
|
|
],
|
|
'site' => [
|
|
'title' => 'Grav',
|
|
'default_lang' => 'en',
|
|
'author' => [
|
|
'name' => 'Joe Bloggs',
|
|
'email' => 'joe@example.com'
|
|
],
|
|
'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' => 'Stream',
|
|
'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' => [
|
|
|
|
],
|
|
'default_lang' => NULL,
|
|
'include_default_lang' => true,
|
|
'pages_fallback_only' => false,
|
|
'translations' => true,
|
|
'translations_fallback' => true,
|
|
'session_store_active' => false,
|
|
'http_accept_language' => false,
|
|
'override_locale' => false
|
|
],
|
|
'home' => [
|
|
'alias' => '/home',
|
|
'hide_in_urls' => false
|
|
],
|
|
'pages' => [
|
|
'theme' => 'learn2',
|
|
'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' => false,
|
|
'escape_markup' => false,
|
|
'special_chars' => [
|
|
'>' => 'gt',
|
|
'<' => 'lt'
|
|
]
|
|
],
|
|
'types' => [
|
|
0 => 'html',
|
|
1 => 'htm',
|
|
2 => 'xml',
|
|
3 => 'txt',
|
|
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' => false,
|
|
'redirect_default_code' => 302,
|
|
'redirect_trailing_slash' => true,
|
|
'ignore_files' => [
|
|
0 => '.DS_Store'
|
|
],
|
|
'ignore_folders' => [
|
|
0 => '.git',
|
|
1 => '.idea'
|
|
],
|
|
'ignore_hidden' => true,
|
|
'hide_empty_folders' => false,
|
|
'url_taxonomy_filters' => true,
|
|
'frontmatter' => [
|
|
'process_twig' => false,
|
|
'ignore_fields' => [
|
|
0 => 'form',
|
|
1 => 'forms'
|
|
]
|
|
]
|
|
],
|
|
'cache' => [
|
|
'enabled' => true,
|
|
'check' => [
|
|
'method' => 'file'
|
|
],
|
|
'driver' => 'auto',
|
|
'prefix' => 'g',
|
|
'purge_at' => '0 4 * * *',
|
|
'clear_at' => '0 3 * * *',
|
|
'clear_job_type' => 'standard',
|
|
'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' => true,
|
|
'log' => true
|
|
],
|
|
'log' => [
|
|
'handler' => 'file',
|
|
'syslog' => [
|
|
'facility' => 'local6'
|
|
]
|
|
],
|
|
'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,
|
|
'seofriendly' => false
|
|
],
|
|
'media' => [
|
|
'enable_media_timestamp' => false,
|
|
'unsupported_inline_types' => [
|
|
|
|
],
|
|
'allowed_fallback_types' => [
|
|
|
|
],
|
|
'auto_metadata_exif' => false,
|
|
'upload_limit' => 2097152
|
|
],
|
|
'session' => [
|
|
'enabled' => true,
|
|
'initialize' => true,
|
|
'timeout' => 1800,
|
|
'name' => 'grav-site',
|
|
'uniqueness' => 'path',
|
|
'secure' => false,
|
|
'httponly' => true,
|
|
'split' => true,
|
|
'path' => NULL
|
|
],
|
|
'gpm' => [
|
|
'releases' => 'stable',
|
|
'proxy_url' => NULL,
|
|
'method' => 'auto',
|
|
'verify_peer' => true,
|
|
'official_gpm_only' => true
|
|
],
|
|
'accounts' => [
|
|
'type' => 'data',
|
|
'storage' => 'file'
|
|
],
|
|
'strict_mode' => [
|
|
'yaml_compat' => true,
|
|
'twig_compat' => true
|
|
]
|
|
],
|
|
'scheduler' => [
|
|
|
|
]
|
|
]
|
|
];
|