Changeset 12363
- Timestamp:
- 08/25/09 23:45:22 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
inc/classes/BxDolTemplate.php (modified) (2 diffs)
-
periodic/cron.php (modified) (1 diff)
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_'; -
trunk/periodic/cron.php
r11293 r12363 26 26 require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolDb.php'); 27 27 28 define('BX_DOL_CRON_EXECUTE', '1'); 29 28 30 /* 29 31 * This file is used for cron jobs. He is started system cron every minute.
Note: See TracChangeset
for help on using the changeset viewer.