Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function &get_instance()
- {
- return CI_Controller::get_instance();
- return NULL;
- }
- defined('BASEPATH') || exit('No direct script access allowed');
- const CI_VERSION = '3.1.11';
- if (file_exists(APPPATH . 'config/' . ENVIRONMENT . '/constants.php')) {
- require_once APPPATH . 'config/' . ENVIRONMENT . '/constants.php';
- }
- if (file_exists(APPPATH . 'config/constants.php')) {
- require_once APPPATH . 'config/constants.php';
- }
- require_once BASEPATH . 'core/Common.php';
- if (!is_php('5.4')) {
- ini_set('magic_quotes_runtime', 0);
- if ((bool) ini_get('register_globals')) {
- $_protected = ['_SERVER', '_GET', '_POST', '_FILES', '_REQUEST', '_SESSION', '_ENV', '_COOKIE', 'GLOBALS', 'HTTP_RAW_POST_DATA', 'system_path', 'application_folder', 'view_folder', '_protected', '_registered'];
- $_registered = ini_get('variables_order');
- foreach (['E' => '_ENV', 'G' => '_GET', 'P' => '_POST', 'C' => '_COOKIE', 'S' => '_SERVER'] as $key => $superglobal) {
- if (strpos($_registered, $key) === false) {
- continue;
- }
- foreach (array_keys($$superglobal) as $var) {
- if (isset($GLOBALS[$var]) && !in_array($var, $_protected, true)) {
- $GLOBALS[$var] = NULL;
- }
- }
- }
- }
- }
- set_error_handler('_error_handler');
- set_exception_handler('_exception_handler');
- register_shutdown_function('_shutdown_handler');
- if (!empty($assign_to_config['subclass_prefix'])) {
- get_config(['subclass_prefix' => $assign_to_config['subclass_prefix']]);
- }
- if ($composer_autoload = config_item('composer_autoload')) {
- if ($composer_autoload === true) {
- file_exists(APPPATH . 'vendor/autoload.php') ? require_once APPPATH . 'vendor/autoload.php' : log_message('error', '$config[\'composer_autoload\'] is set to TRUE but ' . APPPATH . 'vendor/autoload.php was not found.');
- }
- else if (file_exists($composer_autoload)) {
- require_once $composer_autoload;
- }
- else {
- log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: ' . $composer_autoload);
- }
- }
- $BM = &load_class('Benchmark', 'core');
- $BM->mark('total_execution_time_start');
- $BM->mark('loading_time:_base_classes_start');
- $EXT = &load_class('Hooks', 'core');
- ........................................................................
- ........................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement