protected function getDefaults()
    {
        return [
            'database'    => [
                'driver'         => 'sqlite',
                'host'           => 'localhost',
                'slaves'         => [],
                'dbname'         => 'bolt',
                'prefix'         => 'bolt_',
                'charset'        => 'utf8',
                'collate'        => 'utf8_unicode_ci',
                'randomfunction' => '',
            ],
            'sitename'                    => 'Default Bolt site',
            'locale'                      => null,
            'recordsperpage'              => 10,
            'recordsperdashboardwidget'   => 5,
            'systemlog'                   => [
                'enabled' => true,
            ],
            'changelog'                   => [
                'enabled' => false,
            ],
            'debuglog'                    => [
                'enabled'  => false,
                'level'    => 'DEBUG',
                'filename' => 'bolt-debug.log',
            ],
            'debug'                       => null,
            'debug_show_loggedoff'        => false,
            'debug_error_level'           => null,
            'production_error_level'      => null,
            'debug_enable_whoops'         => false, /** @deprecated. Deprecated since 3.2, to be removed in 4.0 */
            'debug_error_use_symfony'     => false,
            'debug_permission_audit_mode' => false,
            'debug_trace_argument_limit'  => 4,
            'strict_variables'            => null,
            'theme'                       => 'base-2016',
            'listing_template'            => 'listing.twig',
            'listing_records'             => '5',
            'listing_sort'                => 'datepublish DESC',
            'caching'                     => [
                'config'    => true,
                'templates' => true,
                'request'   => false,
                'duration'  => 10,
            ],
            'wysiwyg'                     => [
                'images'      => false,
                'tables'      => false,
                'fontcolor'   => false,
                'align'       => false,
                'subsuper'    => false,
                'embed'       => false,
                'anchor'      => false,
                'underline'   => false,
                'strike'      => false,
                'blockquote'  => false,
                'codesnippet' => false,
                'specialchar' => false,
                'styles'      => false,
                'ck'          => [
                    'autoParagraph'           => true,
                    'contentsCss'             => [
                        ['css/ckeditor-contents.css', 'bolt'],
                        ['css/ckeditor.css', 'bolt'],
                    ],
                    'filebrowserWindowWidth'  => 640,
                    'filebrowserWindowHeight' => 480,
                ],
            ],
            'liveeditor'                  => true,
            'canonical'                   => null,
            'developer_notices'           => false,
            'cookies_use_remoteaddr'      => true,
            'cookies_use_browseragent'    => false,
            'cookies_use_httphost'        => true,
            'cookies_lifetime'            => 14 * 24 * 3600,
            'enforce_ssl'                 => false,
            'thumbnails'                  => [
                'default_thumbnail' => [160, 120],
                'default_image'     => [1000, 750],
                'quality'           => 75,
                'cropping'          => 'crop',
                'notfound_image'    => 'bolt_assets://img/default_notfound.png',
                'error_image'       => 'bolt_assets://img/default_error.png',
                'only_aliases'      => false,
            ],
            'accept_file_types'           => explode(',', 'twig,html,js,css,scss,gif,jpg,jpeg,png,ico,zip,tgz,txt,md,doc,docx,pdf,epub,xls,xlsx,csv,ppt,pptx,mp3,ogg,wav,m4a,mp4,m4v,ogv,wmv,avi,webm,svg'),
            'hash_strength'               => 10,
            'branding'                    => [
                'name'        => 'Bolt',
                'path'        => '/bolt',
                'provided_by' => [],
            ],
            'maintenance_mode'            => false,
            'headers'                     => [
                'x_frame_options' => true,
            ],
            'htmlcleaner'                 => [
                'allowed_tags'       => explode(',', 'div,span,p,br,hr,s,u,strong,em,i,b,li,ul,ol,mark,blockquote,pre,code,tt,h1,h2,h3,h4,h5,h6,dd,dl,dh,table,tbody,thead,tfoot,th,td,tr,a,img,address,abbr,iframe'),
                'allowed_attributes' => explode(',', 'id,class,style,name,value,href,src,alt,title,width,height,frameborder,allowfullscreen,scrolling'),
            ],
            'performance'                 => [
                'http_cache'    => [
                    'options' => [],
                ],
                'timed_records' => [
                    'interval' => 3600,
                    'use_cron' => false,
                ],
            ],
        ];
    }
protected function getDefaults()
    {
        return [
            'database'    => [
                'driver'         => 'sqlite',
                'host'           => 'localhost',
                'slaves'         => [],
                'dbname'         => 'bolt',
                'prefix'         => 'bolt_',
                'charset'        => 'utf8',
                'collate'        => 'utf8_unicode_ci',
                'randomfunction' => '',
            ],
            'sitename'                    => 'Default Bolt site',
            'locale'                      => null,
            'recordsperpage'              => 10,
            'recordsperdashboardwidget'   => 5,
            'systemlog'                   => [
                'enabled' => true,
            ],
            'changelog'                   => [
                'enabled' => false,
            ],
            'debuglog'                    => [
                'enabled'  => false,
                'level'    => 'DEBUG',
                'filename' => 'bolt-debug.log',
            ],
            'debug'                       => null,
            'debug_show_loggedoff'        => false,
            'debug_error_level'           => null,
            'production_error_level'      => null,
            'debug_enable_whoops'         => false, /** @deprecated. Deprecated since 3.2, to be removed in 4.0 */
            'debug_error_use_symfony'     => false,
            'debug_permission_audit_mode' => false,
            'debug_trace_argument_limit'  => 4,
            'strict_variables'            => null,
            'theme'                       => 'base-2016',
            'listing_template'            => 'listing.twig',
            'listing_records'             => '5',
            'listing_sort'                => 'datepublish DESC',
            'caching'                     => [
                'config'    => true,
                'templates' => true,
                'request'   => false,
                'duration'  => 10,
            ],
            'wysiwyg'                     => [
                'images'      => false,
                'tables'      => false,
                'fontcolor'   => false,
                'align'       => false,
                'subsuper'    => false,
                'embed'       => false,
                'anchor'      => false,
                'underline'   => false,
                'strike'      => false,
                'blockquote'  => false,
                'codesnippet' => false,
                'specialchar' => false,
                'styles'      => false,
                'ck'          => [
                    'autoParagraph'           => true,
                    'contentsCss'             => [
                        ['css/ckeditor-contents.css', 'bolt'],
                        ['css/ckeditor.css', 'bolt'],
                    ],
                    'filebrowserWindowWidth'  => 640,
                    'filebrowserWindowHeight' => 480,
                ],
            ],
            'liveeditor'                  => true,
            'canonical'                   => null,
            'developer_notices'           => false,
            'cookies_use_remoteaddr'      => true,
            'cookies_use_browseragent'    => false,
            'cookies_use_httphost'        => true,
            'cookies_lifetime'            => 14 * 24 * 3600,
            'enforce_ssl'                 => false,
            'thumbnails'                  => [
                'default_thumbnail' => [160, 120],
                'default_image'     => [1000, 750],
                'quality'           => 75,
                'cropping'          => 'crop',
                'notfound_image'    => 'bolt_assets://img/default_notfound.png',
                'error_image'       => 'bolt_assets://img/default_error.png',
                'only_aliases'      => false,
            ],
            'accept_file_types'           => explode(',', 'twig,html,js,css,scss,gif,jpg,jpeg,png,ico,zip,tgz,txt,md,doc,docx,pdf,epub,xls,xlsx,csv,ppt,pptx,mp3,ogg,wav,m4a,mp4,m4v,ogv,wmv,avi,webm,svg'),
            'hash_strength'               => 10,
            'branding'                    => [
                'name'        => 'Bolt',
                'path'        => '/bolt',
                'provided_by' => [],
            ],
            'maintenance_mode'            => false,
            'headers'                     => [
                'x_frame_options' => true,
            ],
            'htmlcleaner'                 => [
                'allowed_tags'       => explode(',', 'div,span,p,br,hr,s,u,strong,em,i,b,li,ul,ol,mark,blockquote,pre,code,tt,h1,h2,h3,h4,h5,h6,dd,dl,dh,table,tbody,thead,tfoot,th,td,tr,a,img,address,abbr,iframe'),
                'allowed_attributes' => explode(',', 'id,class,style,name,value,href,src,alt,title,width,height,frameborder,allowfullscreen,scrolling'),
            ],
            'performance'                 => [
                'http_cache'    => [
                    'options' => [],
                ],
                'timed_records' => [
                    'interval' => 3600,
                    'use_cron' => false,
                ],
            ],
        ];
    }
protected function getDefaults ( ) { return [ 'database' => [ 'driver' => 'sqlite' , 'host' => 'localhost' , 'slaves' => [ ] , 'dbname' => 'bolt' , 'prefix' => 'bolt_' , 'charset' => 'utf8' , 'collate' => 'utf8_unicode_ci' , 'randomfunction' => '' , ] , 'sitename' => 'Default Bolt site' , 'locale' => null , 'recordsperpage' => 10 , 'recordsperdashboardwidget' => 5 , 'systemlog' => [ 'enabled' => true , ] , 'changelog' => [ 'enabled' => false , ] , 'debuglog' => [ 'enabled' => false , 'level' => 'DEBUG' , 'filename' => 'bolt-debug.log' , ] , 'debug' => null , 'debug_show_loggedoff' => false , 'debug_error_level' => null , 'production_error_level' => null , 'debug_enable_whoops' => false , /** @deprecated. Deprecated since 3.2, to be removed in 4.0 */ 'debug_error_use_symfony' => false , 'debug_permission_audit_mode' => false , 'debug_trace_argument_limit' => 4 , 'strict_variables' => null , 'theme' => 'base-2016' , 'listing_template' => 'listing.twig' , 'listing_records' => '5' , 'listing_sort' => 'datepublish DESC' , 'caching' => [ 'config' => true , 'templates' => true , 'request' => false , 'duration' => 10 , ] , 'wysiwyg' => [ 'images' => false , 'tables' => false , 'fontcolor' => false , 'align' => false , 'subsuper' => false , 'embed' => false , 'anchor' => false , 'underline' => false , 'strike' => false , 'blockquote' => false , 'codesnippet' => false , 'specialchar' => false , 'styles' => false , 'ck' => [ 'autoParagraph' => true , 'contentsCss' => [ [ 'css/ckeditor-contents.css' , 'bolt' ] , [ 'css/ckeditor.css' , 'bolt' ] , ] , 'filebrowserWindowWidth' => 640 , 'filebrowserWindowHeight' => 480 , ] , ] , 'liveeditor' => true , 'canonical' => null , 'developer_notices' => false , 'cookies_use_remoteaddr' => true , 'cookies_use_browseragent' => false , 'cookies_use_httphost' => true , 'cookies_lifetime' => 14 * 24 * 3600 , 'enforce_ssl' => false , 'thumbnails' => [ 'default_thumbnail' => [ 160 , 120 ] , 'default_image' => [ 1000 , 750 ] , 'quality' => 75 , 'cropping' => 'crop' , 'notfound_image' => 'bolt_assets://img/default_notfound.png' , 'error_image' => 'bolt_assets://img/default_error.png' , 'only_aliases' => false , ] , 'accept_file_types' => explode ( ',' , 'twig,html,js,css,scss,gif,jpg,jpeg,png,ico,zip,tgz,txt,md,doc,docx,pdf,epub,xls,xlsx,csv,ppt,pptx,mp3,ogg,wav,m4a,mp4,m4v,ogv,wmv,avi,webm,svg' ) , 'hash_strength' => 10 , 'branding' => [ 'name' => 'Bolt' , 'path' => '/bolt' , 'provided_by' => [ ] , ] , 'maintenance_mode' => false , 'headers' => [ 'x_frame_options' => true , ] , 'htmlcleaner' => [ 'allowed_tags' => explode ( ',' , 'div,span,p,br,hr,s,u,strong,em,i,b,li,ul,ol,mark,blockquote,pre,code,tt,h1,h2,h3,h4,h5,h6,dd,dl,dh,table,tbody,thead,tfoot,th,td,tr,a,img,address,abbr,iframe' ) , 'allowed_attributes' => explode ( ',' , 'id,class,style,name,value,href,src,alt,title,width,height,frameborder,allowfullscreen,scrolling' ) , ] , 'performance' => [ 'http_cache' => [ 'options' => [ ] , ] , 'timed_records' => [ 'interval' => 3600 , 'use_cron' => false , ] , ] , ] ; }
Assume sensible defaults for a number of options.
Assume sensible defaults for a number of options .