Mini Shell
<?php
#Show Error
define('APP_SHOW_ERROR', true);
@ini_set('display_errors', (APP_SHOW_ERROR) ? 'On' : 'Off');
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
if(defined('E_DEPRECATED')) {
error_reporting(error_reporting() & ~E_DEPRECATED);
}
if(function_exists('phpversion')){
if(version_compare(phpversion(),'8.0.0','>=')){
error_reporting(error_reporting() & ~E_WARNING);
define('IWP_PHP8',true);
}
}
define('SHOW_SQL_ERROR', APP_SHOW_ERROR);
define('APP_VERSION', '2.18.3');
define('APP_INSTALL_HASH', '[[APP_INSTALL_HASH]]');
define('APP_ROOT', dirname(__FILE__));
define('APP_DOMAIN_PATH', '[[softurl_no_http]]/');
define('APP_ROOT_V3', dirname(__FILE__).'/v3');
define('APP_DOMAIN_PATH_V3', '[[softurl_no_http]]/v3');
define('EXECUTE_FILE', 'execute.php');
define('DEFAULT_MAX_CLIENT_REQUEST_TIMEOUT', 180);//Request to client wp
$config = array();
$config['SQL_DATABASE'] = '[[softdb]]';
$config['SQL_HOST'] = '[[softdbhost]]';
$config['SQL_USERNAME'] = '[[softdbuser]]';
$config['SQL_PASSWORD'] = '[[softdbpass]]';
$config['SQL_PORT'] = '3306';
$config['SQL_TABLE_NAME_PREFIX'] = '[[dbprefix]]';
Zerion Mini Shell 1.0