Changeset 12625
- Timestamp:
- 11/04/08 10:05:23 (1 year ago)
- Files:
-
- branches/1.2/lib/cache/sfFileCache.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/cache/sfFileCache.class.php
r9084 r12625 216 216 clearstatcache(); // because the filesize can be cached by PHP itself... 217 217 $length = @filesize($path); 218 $mqr = get_magic_quotes_runtime();219 set_magic_quotes_runtime(0);220 218 switch ($type) 221 219 { … … 241 239 throw new sfConfigurationException(sprintf('Unknown type "%s".', $type)); 242 240 } 243 set_magic_quotes_runtime($mqr);244 241 @flock($fp, LOCK_UN); 245 242 @fclose($fp);

