public static function init() { GlobalMas::$host = 'mydatabase.ctla99hip1d5.us-west-2.rds.amazonaws.com:3306'; GlobalMas::$user = '******'; GlobalMas::$pass = '******'; GlobalMas::$database = "compiler"; GlobalMas::$filesPath_relative = "/Modules/generated_files/compiler/"; GlobalMas::$filesPath_absolute = $_SERVER["DOCUMENT_ROOT"] . GlobalMas::$filesPath_relative; GlobalMas::$filesPath_web = GenFun::get_full_url(GlobalMas::$filesPath_absolute) . "/"; //------------------------------------------------------ ProjectGlobal::$compileObj = array("compile" => array(array("save_path" => "", "compileType" => "inject", "outputContent" => array("saveas" => "index.html"), "imagesProp" => array("base64" => true, "fileProp" => array("fileTypeProp" => array("png" => array("quality" => 100), "jpeg" => array("quality" => 90)))), "files" => array("data.js" => array("base64" => false)), "getIncluded" => false, "minify" => true))); }
public static function init() { self::$filesPath_relative = "/Modules/generated_files/"; self::$filesPath_absolute = $_SERVER["DOCUMENT_ROOT"] . self::$filesPath_relative; self::$filesPath_web = GenFun::get_full_url(self::$filesPath_absolute) . "/"; }