ratelimitfile : don't display the error if it is not possible to create the directory (the exception raised is sufficient)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2938 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -109,7 +109,7 @@ class ratelimitfile extends ratelimit
|
||||
}
|
||||
else
|
||||
{
|
||||
if (mkdir ($this->storageDir, 0777, true) === false)
|
||||
if (@mkdir ($this->storageDir, 0777, true) === false)
|
||||
throw new Exception (sprintf (dgettext ("domframework",
|
||||
"Can't create '%s' storageDir"),
|
||||
$this->storageDir), 500);
|
||||
|
||||
Reference in New Issue
Block a user