2014-05-14 23:24:20 +10:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return array(
|
|
|
|
|
2014-07-29 17:44:24 +10:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Specifies the default CMS theme
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This parameter value can be overridden by the CMS back-end settings.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'activeTheme' => 'test',
|
|
|
|
|
2014-05-14 23:24:20 +10:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Plugins directory
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Specifies the plugins directory relative to the application root directory.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'pluginsDir' => '/tests/fixtures/system/plugins',
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Themes directory
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Specifies the themes directory relative to the application root directory.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'themesDir' => '/tests/fixtures/cms/themes',
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Time to live for parsed CMS objects.
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Specifies the number of minutes the CMS object cache lives. After the interval
|
|
|
|
| is expired item are re-cached. Note that items are re-cached automatically when
|
|
|
|
| the corresponding template file is modified.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'parsedPageCacheTTL' => 1440,
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Determines if the routing caching is enabled.
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| If the caching is enabled, the page URL map is saved in the cache. If a page
|
|
|
|
| URL was changed on the disk, the old URL value could be still saved in the cache.
|
|
|
|
| To update the cache the back-end Clear Cache feature should be used. It is recommended
|
|
|
|
| to disable the caching during the development, and enable it in the production mode.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'enableRoutesCache' => true,
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Time to live for the URL map.
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The URL map used in the CMS page routing process. By default
|
|
|
|
| the map is updated every time when a page is saved in the back-end or when the
|
|
|
|
| interval, in minutes, specified with the urlMapCacheTTL parameter expires.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'urlCacheTtl' => 1,
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Determines if the asset caching is enabled.
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| If the caching is enabled, combined assets are cached. If a asset file
|
|
|
|
| is changed on the disk, the old file contents could be still saved in the cache.
|
|
|
|
| To update the cache the back-end Clear Cache feature should be used. It is recommended
|
|
|
|
| to disable the caching during the development, and enable it in the production mode.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2014-10-10 21:54:19 +02:00
|
|
|
'enableAssetCache' => false,
|
2014-07-29 17:44:24 +10:00
|
|
|
|
2014-05-14 23:24:20 +10:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Disables Twig caching for unit tests
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
'twigNoCache' => true,
|
2014-10-10 21:54:19 +02:00
|
|
|
);
|