Portal Auth and Cursed Screech Updates

This commit is contained in:
sud0nick
2018-07-15 23:51:02 -04:00
parent ae53ba8ea1
commit 5189bc5bc3
76 changed files with 2585 additions and 5974 deletions

View File

@@ -165,6 +165,14 @@ class CursedScreech extends Module {
return false;
}
}
if (!file_exists(__TARGETLOGS__)) {
if (!mkdir(__TARGETLOGS__, 0755, true)) {
$this->logError("Failed init", "Failed to initialize because the targetlogs directory at '" . __TARGETLOGS__ . "' could not be created.");
$this->respond(false);
return false;
}
}
}
/* ============================ */