/* Decoded by unphp.net */ array("required"),"dbname"=>array("required"),"dbuser"=>array("required"),"username"=>array("required"),"itemcode"=>array("required"),"siteusername"=>array("required","alpha_num"),"siteemail"=>array("required","email"),"sitepassword"=>array("required","min:6"),"sitefullname"=>array("required"),);$pycesxnnrvsx="rules";${${"GLOBALS"}["uozlijti"]}=Validator::make(Input::all(),${$pycesxnnrvsx});$weccihgnp="key";$ywcvzfwzg="step1";${"GLOBALS"}["mstaffjgplqn"]="link";$uxtasnrx="result";$btcbxylwa="ch";if($v->fails()){return Redirect::to("install")->withErrors(${${"GLOBALS"}["mxfolttb"]});}$oxaktujrpn="file2";$awqmqquwkcl="code";${${"GLOBALS"}["kgoyryd"]}=Input::get("itemcode");${"GLOBALS"}["uheluyjh"]="link";${${"GLOBALS"}["uheluyjh"]}="eyJpdiI6IkdON25pUDJOSXFtV3FLSHJhbVVJOUxHUW5razVoeEFFUzlsM2RHd3lMQUE9IiwidmFsdWUiOiJURWdiTk9qbUt1Z0ppMStUT3FzU0RTSEJpTHRKamdQaWtCRWZYZEJkbkpiOVFFTElldkhaTnNtWURBWER4WDNGQlJhbHlRYzhFUDkzK1lvKzZLU0psdz09IiwibWFjIjoiNzczOWQ3OGM0YWI1OTBiM2JiNDhmNWQ0NDkwMGM3ZjY0ZjU4YjdlNzYzMTZkMWQ5YWViMWMyNzI0MjdiYmExMyJ9";${${"GLOBALS"}["nbmhpbepy"]}="eyJpdiI6IjRFMVo0dUw3QldUd010S2IrdW5oMmt0WnA3OEpaMzlmQ282Q3lGZk9qcUU9IiwidmFsdWUiOiJRR2hEM3MzaE1NMmE5Sm84blh6WWVkbUw5NWFiRWh6S3NmYVFKdFh1Y1RBPSIsIm1hYyI6ImM2MjY3NjI0MmFiYjYyYzRmMTlmNzc3ODgxMjRkZWMzMmIzNTc0Y2JmMjRlZmFlNmI0YjFiNDRmNWUyZjZiYTYifQ==";$heewzqsdmy="url";${$aspiondbvg}="eyJpdiI6IkhMdzFGaUFpT1NCNFFLOWJ0amNtWTNGRG1GQ3RmbHpHK0lIXC9kVTE5bDU0PSIsInZhbHVlIjoib2dYaTJmOEI5ZlRGaEdNR2EwbDl5Slp4dHRNbUcrc2dtdmI2MUpKVlpJQ01leUU1U3psWWVtWk1EamxYclg4VmhGNlpyU1ZqS21zVGFhZVF0TERUb2c9PSIsIm1hYyI6ImI1NTVjNjc4YjJkMzFlMmY0NjI5NmJlOTk5ZWU4ZTRmYTNlMWU1YjA3YzM4Nzg3OGVjMTc5YmIyZWEzOGIxYmQifQ==";${${"GLOBALS"}["zrtagujqe"]}=Crypt::decrypt(${${"GLOBALS"}["mstaffjgplqn"]}).Crypt::decrypt(${${"GLOBALS"}["nbmhpbepy"]})."/".Crypt::decrypt(${$weccihgnp})."/verify-purchase:".${$awqmqquwkcl}.".json";${${"GLOBALS"}["mbfjssqtkl"]}=curl_init();curl_setopt(${${"GLOBALS"}["uqqselpmyn"]},CURLOPT_SSL_VERIFYPEER,FALSE);curl_setopt(${$btcbxylwa},CURLOPT_RETURNTRANSFER,TRUE);curl_setopt(${${"GLOBALS"}["jknphwvtyp"]},CURLOPT_URL,${$heewzqsdmy});${$uxtasnrx}=curl_exec(${${"GLOBALS"}["jknphwvtyp"]});${${"GLOBALS"}["pklgukbhtwv"]}=json_decode(${${"GLOBALS"}["bpcjwrpsf"]});if(!empty($input->{"verify-purchase"}->created_at)){if($input->{"verify-purchase"}->buyer==Input::get("username")&&$input->{"verify-purchase"}->licence=="Regular License"){${${"GLOBALS"}["wwkgqxkxvb"]}=TRUE;}else{return Redirect::to("install")->with("flashError","Invalid Item Purchase Code");}}else{return Redirect::to("install")->with("flashError","Invalid Item Purchase Code");}$uuomxsnyjp="success";if(${${"GLOBALS"}["wwkgqxkxvb"]}===TRUE){$selvgdcxjpu="step1";${"GLOBALS"}["sbkspyyoiuk"]="file";${${"GLOBALS"}["sbkspyyoiuk"]}=File::get(app_path()."/library/installer/database-install.php");${$selvgdcxjpu}=TRUE;}if(${${"GLOBALS"}["wwkgqxkxvb"]}===TRUE&&${${"GLOBALS"}["bcwodjcjt"]}=TRUE){${${"GLOBALS"}["iydasvmxgg"]}=str_replace("DB_HOST",Input::get("host"),${${"GLOBALS"}["iydasvmxgg"]});}if(${$uuomxsnyjp}===TRUE&&${${"GLOBALS"}["bcwodjcjt"]}=TRUE){${${"GLOBALS"}["iydasvmxgg"]}=str_replace("DB_USER",Input::get("dbuser"),${${"GLOBALS"}["iydasvmxgg"]});}${"GLOBALS"}["xhlcnofm"]="success";if(${${"GLOBALS"}["wwkgqxkxvb"]}===TRUE&&${${"GLOBALS"}["bcwodjcjt"]}=TRUE){$vajqvfjxmch="file";${$vajqvfjxmch}=str_replace("DB_PASSWORD",Input::get("dbpassword"),${${"GLOBALS"}["iydasvmxgg"]});}$ixogbschrl="file2";$dlwnfaoxc="file2";if(${${"GLOBALS"}["xhlcnofm"]}===TRUE&&${${"GLOBALS"}["fcssgqfraol"]}=TRUE){${"GLOBALS"}["zcxcygycoczw"]="file";${${"GLOBALS"}["iydasvmxgg"]}=str_replace("DB_NAME",Input::get("dbname"),${${"GLOBALS"}["zcxcygycoczw"]});}if(${${"GLOBALS"}["wwkgqxkxvb"]}===TRUE&&${${"GLOBALS"}["bcwodjcjt"]}=TRUE){File::put(app_path()."/config/database.php",${${"GLOBALS"}["iydasvmxgg"]});}${$dlwnfaoxc}=File::get(app_path()."/library/installer/DBSeedSettings.php");$tryydqa="file2";${${"GLOBALS"}["rlszlszjisv"]}=str_replace("SITE_USERNAME",Input::get("siteusername"),${$tryydqa});${${"GLOBALS"}["tgbltcxsg"]}=str_replace("SITE_FULLNAME",Input::get("sitefullname"),${${"GLOBALS"}["tgbltcxsg"]});${$oxaktujrpn}=str_replace("SITE_PASSWORD",Input::get("sitepassword"),${${"GLOBALS"}["tgbltcxsg"]});$qhikbr="success";${${"GLOBALS"}["tgbltcxsg"]}=str_replace("SITE_EMAIL",Input::get("siteemail"),${${"GLOBALS"}["tgbltcxsg"]});File::put(app_path()."/database/seeds/DatabaseSeeder.php",${${"GLOBALS"}["tgbltcxsg"]});${${"GLOBALS"}["tgbltcxsg"]}=File::get(app_path()."/config/app.php");${${"GLOBALS"}["tgbltcxsg"]}=str_replace("YourSecretKey!!!",Str::random(32),${$ixogbschrl});File::put(app_path()."/config/app.php",${${"GLOBALS"}["tgbltcxsg"]});if(${${"GLOBALS"}["wwkgqxkxvb"]}===TRUE&&${${"GLOBALS"}["bcwodjcjt"]}=TRUE){Artisan::call("migrate");}if(${$qhikbr}===TRUE&&${$ywcvzfwzg}=TRUE){Artisan::call("db:seed");}File::cleanDirectory(public_path()."/cache");File::cleanDirectory(storage_path()."/cache");File::cleanDirectory(storage_path()."/views");return Redirect::to("gallery")->with("flashSuccess","Your app is now installed");}} ?>