Change all the "new class" by "new Class"

This commit is contained in:
2021-05-07 13:10:37 +02:00
parent c8d275be31
commit c09fa961cd
39 changed files with 430 additions and 432 deletions

View File

@@ -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);