Exemplo n.º 1
0
 function __construct($conn = NULL)
 {
     GenFun::hostConnect();
     Account_v0::$confirmation_url = Import::getImportPath(true) . "confirmation.php";
     Account_v0::$forgot_url = Import::getImportPath(true) . "forgot.php";
     if ($this->cookiePrefix == "") {
         $this->cookiePrefix = Account_v0::getPrefix();
     }
 }
Exemplo n.º 2
0
 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/";
 }