From 07df0f46df59a45038a266bd621765d403367b1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Moussa=20NOMBR=C3=89?= Date: Thu, 28 Jun 2012 10:42:02 -0400 Subject: [PATCH] =?utf8?q?Mise=20=C3=A0=20jour=20du=20gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .gitignore | 13 ++++++++----- lodel-0.9/scripts/Cache/Lite.php | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 6525c4b..8447a44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ -./CACHE/* -./IMG/* -./images/* -./upload/* -./share-0.9/* +*CACHE* +IMG/* +images/* +upload/* +share-0.9/* +docannexe/* +lodel/sources/* +lodelconfig.php diff --git a/lodel-0.9/scripts/Cache/Lite.php b/lodel-0.9/scripts/Cache/Lite.php index a73471f..2199750 100644 --- a/lodel-0.9/scripts/Cache/Lite.php +++ b/lodel-0.9/scripts/Cache/Lite.php @@ -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); -- 1.7.10.4