Mise à jour du gitignore
authorMoussa NOMBRÉ <mnombre@u-nm.b.ca.auf>
Thu, 28 Jun 2012 14:42:02 +0000 (10:42 -0400)
committerMoussa NOMBRÉ <mnombre@u-nm.b.ca.auf>
Thu, 28 Jun 2012 14:42:02 +0000 (10:42 -0400)
.gitignore
lodel-0.9/scripts/Cache/Lite.php

index 6525c4b..8447a44 100644 (file)
@@ -1,5 +1,8 @@
-./CACHE/*
-./IMG/*
-./images/*
-./upload/*
-./share-0.9/*
+*CACHE*
+IMG/*
+images/*
+upload/*
+share-0.9/*
+docannexe/*
+lodel/sources/*
+lodelconfig.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);