Ejemplo n.º 1
0
var ProjectGlobalCls = Class.extend({
	checkIfLoggedIN:false,
	defaultService:"{SERVICES_PATH}myBiz/MyBiz.php",
	checkboxMngr:undefined,
	commentMngr:"commentMngr",
	forgot_url:"http://awwthentic.com/Modules/current/myBiz/forgot.php",
	confirmation_url:"http://awwthentic.com/Modules/current/myBiz/confirmation.php"
});

ProjectGlobal = new ProjectGlobalCls();
</script>
<?php 
}
class ProjectGlobal
{
    //----------------------------------------------------
    const HOST = 'mybizpage.db.2585794.hostedresource.com';
    const USER = '******';
    const PASS = '******';
    const DATABASE = "mybizpage";
    //----------------------------------------------------
    const EMAIL = '*****@*****.**';
    const NAME = 'Wilmer Abreu';
    //------------------------------------------------------------------------
    static $mysqli = NULL;
    static $projectPath = "Modules/generated_files/myBiz/";
    static $filesRelPath = NULL;
    static $filesPath = NULL;
}
ProjectGlobal::$filesRelPath = $_SERVER['DOCUMENT_ROOT'] . "/" . ProjectGlobal::$projectPath . "files/";
ProjectGlobal::$filesPath = GenFun::get_full_url(ProjectGlobal::$filesRelPath);