Change all the "new class" by "new Class"
This commit is contained in:
@@ -36,7 +36,7 @@ class Ratelimitfile extends Ratelimit
|
||||
"File '%s' not writeable for user '%s'"),
|
||||
$file, $user["name"]), 500);
|
||||
file_put_contents ($file, $currentTimeStamp, FILE_APPEND);
|
||||
$lock = new lockfile ();
|
||||
$lock = new Lockfile ();
|
||||
$lock->storagelock = $this->storageDir."/lockfile.lock";
|
||||
$lock->lockRW ();
|
||||
$contents = file ($file);
|
||||
|
||||
Reference in New Issue
Block a user