Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.4.0
- * @ Author : DeZender
- * @ Release on : 30.03.2012
- * @ Official site : http://DeZender.Net
- *
- */
- define( 'GSP_CALLED', true );
- require_once( 'includes.inc.php' );
- if (!defined( 'INCLUDES_CALLED' )) {
- exit( 'Unable to load GSP-Panel files. Error: 1015' );
- }
- if (!function_exists( 'LoadClass' )) {
- exit( 'Unable to load GSP-Panel files' );
- }
- $fullpath = str_replace( array( '/includes/gsp-panel.php', '\includes\gsp-panel.php' ), '', realpath( __FILE__ ) );
- if (( ( !is_file( $fullpath . '/includes/mysql.conf.php' ) || !is_readable( $fullpath . '/includes/mysql.conf.php' ) ) || filesize( $fullpath . '/includes/mysql.conf.php' ) == 0 )) {
- if (!is_dir( $fullpath . '/installer' )) {
- exit( '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.0.0', '<' )) {
- exit( 'This software requires php5 or higher' );
- }
- if (( ( ( ( ( ( !extension_loaded( 'sockets' ) || !extension_loaded( 'mysql' ) ) || !extension_loaded( 'session' ) ) || !extension_loaded( 'curl' ) ) || !extension_loaded( 'soap' ) ) || !extension_loaded( 'gd' ) ) || !extension_loaded( 'xml' ) )) {
- exit( 'A required php extension is missing, please make sure sockets, mysql, session, soap, xml, gd, and curl are loaded' );
- }
- $_REQUEST = array_merge( $_GET, $_POST );
- @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' );
- }
- if (file_exists( $fullpath . '/configuration.php' )) {
- include( $fullpath . '/configuration.php' );
- }
- require_once( 'mysql.conf.php' );
- if (!LoadClass( 'security' )) {
- exit( 'Unable to load GSP-Panel files' );
- }
- $security->CheckLogin( );
- $security->GetUserID( );
- $secheck = new zoJRVQBxn6ib( );
- $secheck->Run( );
- unset( $secheck );
- if (!LoadClass( 'gsp' )) {
- exit( 'Unable to load GSP-Panel files' );
- }
- $gsp->connect_sql( );
- if (( ( ( ( ( ( ( !LoadClass( 'session' ) || !LoadClass( 'smarty' ) ) || !LoadClass( 'user' ) ) || !LoadClass( 'eventlog' ) ) || !LoadClass( 'strings' ) ) || !LoadClass( 'encryption' ) ) || !LoadClass( 'Display' ) ) || !LoadClass( 'safesql' ) )) {
- exit( 'Unable to load GSP-Panel files' );
- }
- if (!isCli( )) {
- if (function_exists( 'phpinfo' )) {
- $phpmodules = parsePHPModules( );
- if (( !isset( $phpmodules['gd']['FreeType Support'] ) || empty( $phpmodules['gd']['FreeType Support'] ) )) {
- exit( 'FreeType support is required.' );
- }
- }
- }
- .........................................................
- .....................................
- ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement