From: Moussa NOMBRÉ Date: Thu, 28 Jun 2012 14:52:19 +0000 (-0400) Subject: quelques un se sont échappés X-Git-Url: https://git.auf.org/?p=auf_bulletin.git;a=commitdiff_plain;h=dfe86318de955a2c9a6f88e043d6747b7492bfe8;hp=07df0f46df59a45038a266bd621765d403367b1f quelques un se sont échappés --- diff --git a/lodel-0.9/scripts/Cache/Lite.php b/lodel-0.9/scripts/Cache/Lite.php index 2199750..786e195 100644 --- a/lodel-0.9/scripts/Cache/Lite.php +++ b/lodel-0.9/scripts/Cache/Lite.php @@ -725,7 +725,7 @@ class Cache_Lite } else { $data = ''; } - set_magic_quotes_runtime($mqr); + ini_set ("magic_quotes_runtime", $mqr); if ($this->_fileLocking) @flock($fp, LOCK_UN); @fclose($fp); if ($this->_readControl) { @@ -772,7 +772,7 @@ class Cache_Lite $mqr = get_magic_quotes_runtime(); ini_set ("magic_quotes_runtime", 0); @fwrite($fp, $data); - set_magic_quotes_runtime($mqr); + ini_set ("magic_quotes_runtime", $mqr); if ($this->_fileLocking) @flock($fp, LOCK_UN); @fclose($fp); return true;