X-Git-Url: https://git.auf.org/?p=auf_bulletin.git;a=blobdiff_plain;f=lodel-0.9%2Fscripts%2FCache%2FLite.php;h=786e195809a24fd1b6ac4a7f73ae675337e366b6;hp=2199750a8fdcb3703aabb3dbe1e98a5349383b4c;hb=dfe86318de955a2c9a6f88e043d6747b7492bfe8;hpb=07df0f46df59a45038a266bd621765d403367b1f 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;