Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- $start = microtime(true);
- define('GSP_CALLED', true);
- require_once 'includes.inc.php';
- if (!function_exists('LC')) {
- exit('Unable to load GSP-Panel files');
- }
- @define('DOC_ROOT', @str_replace(array('/includes/gsp-panel.php', '\\includes\\gsp-panel.php'), '', @realpath(__FILE__)));
- if (!is_file(DOC_ROOT . '/includes/mysql.conf.php') || !is_readable(DOC_ROOT . '/includes/mysql.conf.php') || filesize(DOC_ROOT . '/includes/mysql.conf.php') == 0) {
- if (!is_dir(DOC_ROOT . '/installer')) {
- exit('The MySQL configuration and the installer are missing, please upload the installer.');
- }
- exit('GSP-Panel is not installed, please go to the <a href="installer/index.php">installer</a> to continue.<br />For more information please visit <a href="http://wiki.gsp-panel.com/gettingstarted:install_frontend">http://wiki.gsp-panel.com/gettingstarted:install_frontend</a>');
- }
- if (version_compare(PHP_VERSION, '5.3.0', '<')) {
- exit('This software requires PHP 5.3 or higher');
- }
- $requiredExtensions = array('sockets', 'mysqli', 'session', 'curl', 'soap', 'xml', 'mcrypt', 'json');
- foreach ($requiredExtensions as $rq) {
- if (!extension_loaded($rq)) {
- exit('A required php extension is missing, please make sure ' . $rq . ' is loaded');
- }
- }
- if (!is_dir(DOC_ROOT . '/installer')) {
- exit("The 'installer' folder is missing, please upload this folder.");
- }
- $_REQUEST = array_merge($_GET, $_POST);
- if (file_exists(DOC_ROOT . '/configuration.php')) {
- include DOC_ROOT . '/configuration.php';
- }
- @header('Cache-Control: must-revalidate');
- @header('Expires: 0');
- @ini_set('magic_quotes_runtime', 0);
- @ini_set('max_execution_time', '90');
- @set_time_limit(90);
- $memlimt = str_replace('M', '', @ini_get('memory_limit'));
- if ($memlimt < '16') {
- @ini_set('memory_limit', '64M');
- }
- $gsp = GSP::getInstance();
- $session = new session();
- $display = Display::getInstance();
- $smarty = Display::getSmartyInstance();
- ............................................................................
- .........................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement