Changeset 12363 for trunk/inc/classes/BxDolTemplate.php
- Timestamp:
- 08/25/09 23:45:22 (3 years ago)
- File:
-
- 1 edited
-
trunk/inc/classes/BxDolTemplate.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolTemplate.php
r12345 r12363 198 198 $this->addLocationJs('system_plugins_tinymce', BX_DIRECTORY_PATH_PLUGINS . 'tiny_mce/' , BX_DOL_URL_PLUGINS . 'tiny_mce/'); 199 199 200 $this->_bCacheEnable = getParam('sys_template_cache_enable') == 'on';200 $this->_bCacheEnable = !defined('BX_DOL_CRON_EXECUTE') && getParam('sys_template_cache_enable') == 'on'; 201 201 $this->_sCacheFolderUrl = ''; 202 202 $this->_sCacheFolderPath = BX_DIRECTORY_PATH_CACHE; … … 208 208 $this->_iImagesMaxSize = (int)getParam('sys_template_cache_image_max_size') * 1024; 209 209 210 $this->_bCssCache = getParam('sys_template_cache_css_enable') == 'on';210 $this->_bCssCache = !defined('BX_DOL_CRON_EXECUTE') && getParam('sys_template_cache_css_enable') == 'on'; 211 211 $this->_bCssArchive = $this->_bCssCache && false; 212 212 $this->_sCssCachePrefix = $this->_sCacheFilePrefix . 'css_'; 213 213 214 $this->_bJsCache = getParam('sys_template_cache_js_enable') == 'on';214 $this->_bJsCache = !defined('BX_DOL_CRON_EXECUTE') && getParam('sys_template_cache_js_enable') == 'on'; 215 215 $this->_bJsArchive = $this->_bJsCache && false; 216 216 $this->_sJsCachePrefix = $this->_sCacheFilePrefix . 'js_';
Note: See TracChangeset
for help on using the changeset viewer.