Update Portal Auth and Cursed Screech (#30)

This commit is contained in:
Nick
2018-07-16 22:21:02 -04:00
committed by Sebastian Kinne
parent a517d2e4d4
commit ac9df1c5bb
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;
}
}
}
/* ============================ */