Mise à jour du gitignore
[auf_bulletin.git] / lodel-0.9 / scripts / Cache / Lite.php
index a73471f..2199750 100644 (file)
@@ -715,7 +715,7 @@ class Cache_Lite
             clearstatcache();
             $length = @filesize($this->_file);
             $mqr = get_magic_quotes_runtime();
-            set_magic_quotes_runtime(0);
+            ini_set ("magic_quotes_runtime", 0);
             if ($this->_readControl) {
                 $hashControl = @fread($fp, 32);
                 $length = $length - 32;
@@ -770,7 +770,7 @@ class Cache_Lite
                 @fwrite($fp, $this->_hash($data, $this->_readControlType), 32);
             }
             $mqr = get_magic_quotes_runtime();
-            set_magic_quotes_runtime(0);
+            ini_set ("magic_quotes_runtime", 0);
             @fwrite($fp, $data);
             set_magic_quotes_runtime($mqr);
             if ($this->_fileLocking) @flock($fp, LOCK_UN);