Changeset 1130

Show
Ignore:
Timestamp:
10/18/08 01:05:58 (3 months ago)
Author:
laurentj
Message:

ticket #717: possibility to disable zone caching. p=pulsation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/defaultconfig.ini.php

    r1107 r1130  
    264264default.config = jelix/wymeditor/config/default.js 
    265265default.skin.default  = jelix/wymeditor/skins/default/screen.css 
     266 
     267[zones] 
     268; disable zone caching 
     269disableCache = off 
  • trunk/lib/jelix/CREDITS

    r1126 r1130  
    177177 - fixed bug in jAcl2 pgsql install file (#631) 
    178178 
     179Pulsation 
     180  - possibility to disable zone caching (#717) 
     181 
    179182Rahal 
    180183 - improvement on locale selectors : possibility to overload locales (#358) 
  • trunk/lib/jelix/utils/jZone.class.php

    r1085 r1130  
    44* @subpackage utils 
    55* @author     Croes GĂ©rald, Laurent Jouanneau 
    6 * @contributor Laurent Jouanneau, Laurent Raufaste 
    7 * @copyright  2001-2005 CopixTeam, 2005-2006 Laurent Jouanneau, 2008 Laurent Raufaste 
     6* @contributor Laurent Jouanneau, Laurent Raufaste, Pulsation 
     7* @copyright  2001-2005 CopixTeam, 2005-2006 Laurent Jouanneau, 2008 Laurent Raufaste, 2008 Pulsation 
    88* 
    99* This class was get originally from the Copix project (CopixZone, Copix 2.3dev20050901, http://www.copix.org) 
     
    159159    */ 
    160160    public function getContent (){ 
    161         if ($this->_useCache){ 
     161        global $gJConfig; 
     162         
     163        if ($this->_useCache && !$gJConfig->zones['disableCache']){ 
    162164            $f = $this->_getCacheFile(); 
    163165            if(file_exists($f)){ 
Download in other formats: Unified Diff Zip Archive