Changeset 3490
- Timestamp:
- 02/18/07 09:49:28 (2 years ago)
- Files:
-
- branches/1.0/lib/config/sfConfigCache.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/config/sfConfigCache.class.php
r3203 r3490 131 131 public function checkConfig($configPath, $optional = false) 132 132 { 133 static $process_cache_cleared = false; 134 133 135 if (sfConfig::get('sf_debug') && sfConfig::get('sf_logging_enabled')) 134 136 { … … 187 189 188 190 // clear process cache 189 if ('config/config_handlers.yml' != $configPath )191 if ('config/config_handlers.yml' != $configPath && sfConfig::has('sf_use_process_cache') && !$process_cache_cleared) 190 192 { 191 193 sfProcessCache::clear(); 194 $process_cache_cleared = true; 192 195 } 193 196 }