public static function init() { Constants::$host = self::$host; Constants::$pass = self::$pass; Constants::$user = self::$user; Constants::$database = self::$database; UploadHandler::$projectFilesPath = ProjectGlobal::$projectFilesPath; UploadHandler::$rootFilesPath = "/upload/generated_files/"; }
public static function init() { Constants::$host = self::$host; Constants::$pass = self::$pass; Constants::$user = self::$user; Constants::$database = self::$database; Account_v0::$confirmation_url = Import::getImportPath(true) . "confirmation.php"; Account_v0::$forgot_url = Import::getImportPath(true) . "forgot.php"; UploadHandler::$projectFilesPath = ProjectGlobal::$projectFilesPath; UploadHandler::$rootFilesPath = "upload/generated_files/"; }