Changeset 11909
- Timestamp:
- 10/02/08 15:03:05 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/config/sfApplicationConfiguration.class.php
r11593 r11909 106 106 { 107 107 $configCache->import('config/core_compile.yml', false); 108 109 self::$coreLoaded = true;110 108 } 111 109 … … 152 150 153 151 // compress output 154 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 152 if (!self::$coreLoaded) 153 { 154 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 155 } 156 157 self::$coreLoaded = true; 155 158 } 156 159 branches/1.2/lib/config/sfApplicationConfiguration.class.php
r11783 r11909 101 101 { 102 102 $configCache->import('config/core_compile.yml', false); 103 104 self::$coreLoaded = true;105 103 } 106 104 … … 147 145 148 146 // compress output 149 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 147 if (!self::$coreLoaded) 148 { 149 ob_start(sfConfig::get('sf_compressed') ? 'ob_gzhandler' : ''); 150 } 151 152 self::$coreLoaded = true; 150 153 } 151 154