cachefile || -> &&
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -195,7 +195,7 @@ class cachefile
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->garbage ();
|
$this->garbage ();
|
||||||
if (! is_string ($id) || ! is_integer ($id))
|
if (! is_string ($id) && ! is_integer ($id))
|
||||||
throw new \Exception ("CacheFile read ID not a string : ".gettype ($id),
|
throw new \Exception ("CacheFile read ID not a string : ".gettype ($id),
|
||||||
500);
|
500);
|
||||||
$fileCache = $this->directory."/".sha1 ($id);
|
$fileCache = $this->directory."/".sha1 ($id);
|
||||||
|
|||||||
Reference in New Issue
Block a user