software setup wizard

Get Support
= '0775') { $response = true; } else { $response = false; } return $response; } function importDatabase($mysql_host,$mysql_database,$mysql_user,$mysql_password){ $db = new PDO("mysql:host=$mysql_host;dbname=$mysql_database", $mysql_user, $mysql_password); $query = file_get_contents("database.sql"); $stmt = $db->prepare($query); if ($stmt->execute()) return true; else return false; } $base_url = home_base_url(); if (substr("$base_url", -1=="/")) { $base_url = substr("$base_url", 0, -1); } function home_base_url(){ $base_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']!='off') ? 'https://' : 'http://'; $tmpURL = dirname(__FILE__); $tmpURL = str_replace(chr(92),'/',$tmpURL); $tmpURL = str_replace($_SERVER['DOCUMENT_ROOT'],'',$tmpURL); $tmpURL = ltrim($tmpURL,'/'); $tmpURL = rtrim($tmpURL, '/'); $tmpURL = str_replace('install','',$tmpURL); $base_url .= $_SERVER['HTTP_HOST'].'/'.$tmpURL; return $base_url; } function createTable($name, $details, $status){ if ($status=='1') { $pr = ''; }else{ $pr = ''; } echo "$name$details$pr"; } ////#################################################### $extensions = [ 'openssl' ,'pdo', 'mbstring', 'tokenizer', 'JSON', 'cURL', 'gmp', 'XML', 'fileinfo' ]; $folders = [ '../core/bootstrap/cache/', '../core/storage/', '../core/storage/app/', '../core/storage/framework/', '../core/storage/logs/' ]; ////#################################################### if (isset($_GET['action'])) { $action = $_GET['action']; }else { $action = ""; } if ($action=='install') { ?>

Result

status=='Error') { echo "

$status->message

"; }else{ if(importDatabase($db_host,$db_name,$db_user,$db_pass)){ echo '

Installed Successfully


Go to Website

Please Delete The Install Folder


'; ////////////////////// UPDATE CONFIG $key = base64_encode(random_bytes(32)); $output = ' APP_NAME=Laravel APP_ENV=production APP_KEY=base64:'.$key.' APP_DEBUG=false APP_LOG_LEVEL=debug APP_URL='.$base_url.' DB_CONNECTION=mysql DB_HOST='.$db_host.' DB_PORT=3306 DB_DATABASE='.$db_name.' DB_USERNAME='.$db_user.' DB_PASSWORD='.$db_pass.' BROADCAST_DRIVER=log CACHE_DRIVER=file SESSION_DRIVER=file SESSION_LIFETIME=120 QUEUE_DRIVER=sync REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1 PURCHASECODE ='.$code.' '; $file = fopen('../core/.env', 'w'); fwrite($file, $output); fclose($file); }else{ echo "

Please Check Your Database Credential!

"; } } } ?>

Information

APP URL



PURCHASE VERIFICATION

m


Database Details





Server Requirments

='); if ($phpversion==true) { $error = $error+0; createTable("PHP", "Required PHP version 7.0 or higher",1); }else{ $error = $error+1; createTable("PHP", "Required PHP version 7.0 or higher",0); } foreach ($extensions as $key) { $extension = extension_check($key); if ($extension==true) { $error = $error+0; createTable($key, "Required ".strtoupper($key)." PHP Extension",1); }else{ $error = $error+1; createTable($key, "Required ".strtoupper($key)." PHP Extension",0); } } foreach ($folders as $key) { $folder_perm = folder_permission($key); if ($folder_perm==true) { $error = $error+0; createTable(str_replace("../", "", $key)," Required permission: 0775 ",1); }else{ $error = $error+1; createTable(str_replace("../", "", $key)," Required permission: 0775 ",0); } } $envCheck = is_writable('../core/.env'); if ($envCheck==true) { $error = $error+0; createTable('env'," Required .env to be writable",1); }else{ $error = $error+1; createTable('env'," Required .env to be writable",0); } $database = file_exists('database.sql'); if ($database==true) { $error = $error+0; createTable('Database'," Required database.sql available",1); }else{ $error = $error+1; createTable('Database'," Required database.sql available",0); } echo '
'; if ($error==0) { echo 'Next Step '; }else{ echo 'ReCheck '; } ?>

Terms of use

License to be used on one (1) domain only!

The Regular license is for one website / domain only. If you want to use it on multiple websites / domains you have to purchase more licenses (1 website = 1 license).

YOU CAN:

Use on one (1) domain only.
Modify or edit as you want.
Translate language as you want.

YOU CANNOT:

Resell, distribute, give away or trade by any means to any third party or individual without permission.
Include this product into other products sold on Envato market and its affiliate websites.
Use on more than one (1) domain.


For more information, Please Check Envato License FAQ .