HomeHelpTrac

Ignore:
Timestamp:
08/25/09 23:45:22 (3 years ago)
Author:
Anton Lesnikov
Message:

Ticket #1026

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolTemplate.php

    r12345 r12363  
    198198        $this->addLocationJs('system_plugins_tinymce', BX_DIRECTORY_PATH_PLUGINS . 'tiny_mce/' , BX_DOL_URL_PLUGINS . 'tiny_mce/'); 
    199199 
    200         $this->_bCacheEnable = getParam('sys_template_cache_enable') == 'on'; 
     200        $this->_bCacheEnable = !defined('BX_DOL_CRON_EXECUTE') && getParam('sys_template_cache_enable') == 'on'; 
    201201        $this->_sCacheFolderUrl = ''; 
    202202        $this->_sCacheFolderPath = BX_DIRECTORY_PATH_CACHE; 
     
    208208        $this->_iImagesMaxSize = (int)getParam('sys_template_cache_image_max_size') * 1024; 
    209209 
    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'; 
    211211        $this->_bCssArchive = $this->_bCssCache && false; 
    212212        $this->_sCssCachePrefix = $this->_sCacheFilePrefix . 'css_'; 
    213213 
    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'; 
    215215        $this->_bJsArchive = $this->_bJsCache && false; 
    216216        $this->_sJsCachePrefix = $this->_sCacheFilePrefix . 'js_'; 
Note: See TracChangeset for help on using the changeset viewer.