Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php defined("\102\x41\x53\x45\x50\101\124\x48") or die("\116\x6f\40\144\x69\x72\145\x63..

Decoded Output download

<?php
 defined("BASEPATH") or die("No direct script access allowed"); class CI_Loader { protected $_ci_ob_level; protected $_ci_view_paths = array(VIEWPATH => TRUE); protected $_ci_library_paths = array(APPPATH, BASEPATH); protected $_ci_model_paths = array(APPPATH); protected $_ci_helper_paths = array(APPPATH, BASEPATH); protected $_ci_cached_vars = array(); protected $_ci_load_vars_stack = array(); protected $_ci_classes = array(); protected $_ci_models = array(); protected $_ci_helpers = array(); protected $_ci_varmap = array("unit_test" => "unit", "user_agent" => "agent"); public function __construct() { $this->_ci_ob_level = ob_get_level(); $this->_ci_classes =& is_loaded(); log_message("info", "Loader Class Initialized"); } public function initialize() { $this->_ci_autoloader(); } public function is_loaded($class) { return array_search(ucfirst($class), $this->_ci_classes, TRUE); } public function library($library, $params = NULL, $object_name = NULL) { if (empty($library)) { return $this; } elseif (is_array($library)) { foreach ($library as $key => $value) { if (is_int($key)) { $this->library($value, $params); } else { $this->library($key, $params, $value); } } return $this; } if ($params !== NULL && !is_array($params)) { $params = NULL; } $this->_ci_load_library($library, $params, $object_name); return $this; } public function model($model, $name = '', $db_conn = FALSE) { if (empty($model)) { return $this; } elseif (is_array($model)) { foreach ($model as $key => $value) { is_int($key) ? $this->model($value, '', $db_conn) : $this->model($key, $value, $db_conn); } return $this; } $path = ''; if (($last_slash = strrpos($model, "/")) !== FALSE) { $path = substr($model, 0, ++$last_slash); $model = substr($model, $last_slash); } if (empty($name)) { $name = $model; } if (in_array($name, $this->_ci_models, TRUE)) { return $this; } $CI =& get_instance(); if (isset($CI->{$name})) { throw new RuntimeException("The model name you are loading is the name of a resource that is already being used: " . $name); } if ($db_conn !== FALSE && !class_exists("CI_DB", FALSE)) { if ($db_conn === TRUE) { $db_conn = ''; } $this->database($db_conn, FALSE, TRUE); } if (!class_exists("CI_Model", FALSE)) { $app_path = APPPATH . "core" . DIRECTORY_SEPARATOR; if (file_exists($app_path . "Model.php")) { require_once $app_path . "Model.php"; if (!class_exists("CI_Model", FALSE)) { throw new RuntimeException($app_path . "Model.php exists, but doesn't declare class CI_Model"); } log_message("info", "CI_Model class loaded"); } elseif (!class_exists("CI_Model", FALSE)) { require_once BASEPATH . "core" . DIRECTORY_SEPARATOR . "Model.php"; } $class = config_item("subclass_prefix") . "Model"; if (file_exists($app_path . $class . ".php")) { require_once $app_path . $class . ".php"; if (!class_exists($class, FALSE)) { throw new RuntimeException($app_path . $class . ".php exists, but doesn't declare class " . $class); } log_message("info", config_item("subclass_prefix") . "Model class loaded"); } } $model = ucfirst($model); if (!class_exists($model, FALSE)) { foreach ($this->_ci_model_paths as $mod_path) { if (!file_exists($mod_path . "models/" . $path . $model . ".php")) { continue; } require_once $mod_path . "models/" . $path . $model . ".php"; if (!class_exists($model, FALSE)) { throw new RuntimeException($mod_path . "models/" . $path . $model . ".php exists, but doesn't declare class " . $model); } break; } if (!class_exists($model, FALSE)) { throw new RuntimeException("Unable to locate the model you have specified: " . $model); } } if (!is_subclass_of($model, "CI_Model")) { throw new RuntimeException("Class " . $model . " doesn't extend CI_Model"); } $this->_ci_models[] = $name; $model = new $model(); $CI->{$name} = $model; log_message("info", "Model "" . get_class($model) . "" initialized"); return $this; } public function database($params = '', $return = FALSE) { $CI =& get_instance(); if ($return === FALSE && isset($CI->db) && is_object($CI->db) && !empty($CI->db->conn_id)) { return FALSE; } require_once BASEPATH . "database/DB.php"; if ($return === TRUE) { return DB($params); } $CI->db = ''; $CI->db =& DB($params); return $this; } public function dbutil($db = NULL, $return = FALSE) { $CI =& get_instance(); if (!is_object($db) or !$db instanceof CI_DB) { class_exists("CI_DB", FALSE) or $this->database(); $db =& $CI->db; } require_once BASEPATH . "database/DB_utility.php"; require_once BASEPATH . "database/drivers/" . $db->dbdriver . "/" . $db->dbdriver . "_utility.php"; $class = "CI_DB_" . $db->dbdriver . "_utility"; if ($return === TRUE) { return new $class($db); } $CI->dbutil = new $class($db); return $this; } public function dbforge($db = NULL, $return = FALSE) { $CI =& get_instance(); if (!is_object($db) or !$db instanceof CI_DB) { class_exists("CI_DB", FALSE) or $this->database(); $db =& $CI->db; } require_once BASEPATH . "database/DB_forge.php"; require_once BASEPATH . "database/drivers/" . $db->dbdriver . "/" . $db->dbdriver . "_forge.php"; if (!empty($db->subdriver)) { $driver_path = BASEPATH . "database/drivers/" . $db->dbdriver . "/subdrivers/" . $db->dbdriver . "_" . $db->subdriver . "_forge.php"; if (file_exists($driver_path)) { require_once $driver_path; $class = "CI_DB_" . $db->dbdriver . "_" . $db->subdriver . "_forge"; } } else { $class = "CI_DB_" . $db->dbdriver . "_forge"; } if ($return === TRUE) { return new $class($db); } $CI->dbforge = new $class($db); return $this; } public function view($view, $vars = array(), $return = FALSE) { return $this->_ci_load(array("_ci_view" => $view, "_ci_vars" => $this->_ci_prepare_view_vars($vars), "_ci_return" => $return)); } public function file($path, $return = FALSE) { return $this->_ci_load(array("_ci_path" => $path, "_ci_return" => $return)); } public function vars($vars, $val = '') { $vars = is_string($vars) ? array($vars => $val) : $this->_ci_prepare_view_vars($vars); foreach ($vars as $key => $val) { $this->_ci_cached_vars[$key] = $val; } return $this; } public function clear_vars() { $this->_ci_cached_vars = array(); return $this; } public function get_var($key) { return isset($this->_ci_cached_vars[$key]) ? $this->_ci_cached_vars[$key] : NULL; } public function get_vars() { return $this->_ci_cached_vars; } public function helper($helpers = array()) { is_array($helpers) or $helpers = array($helpers); foreach ($helpers as &$helper) { $filename = basename($helper); $filepath = $filename === $helper ? '' : substr($helper, 0, strlen($helper) - strlen($filename)); $filename = strtolower(preg_replace("#(_helper)?(\.php)?$#i", '', $filename)) . "_helper"; $helper = $filepath . $filename; if (isset($this->_ci_helpers[$helper])) { continue; } $ext_helper = config_item("subclass_prefix") . $filename; $ext_loaded = FALSE; foreach ($this->_ci_helper_paths as $path) { if (file_exists($path . "helpers/" . $ext_helper . ".php")) { include_once $path . "helpers/" . $ext_helper . ".php"; $ext_loaded = TRUE; } } if ($ext_loaded === TRUE) { $base_helper = BASEPATH . "helpers/" . $helper . ".php"; if (!file_exists($base_helper)) { show_error("Unable to load the requested file: helpers/" . $helper . ".php"); } include_once $base_helper; $this->_ci_helpers[$helper] = TRUE; log_message("info", "Helper loaded: " . $helper); continue; } foreach ($this->_ci_helper_paths as $path) { if (file_exists($path . "helpers/" . $helper . ".php")) { include_once $path . "helpers/" . $helper . ".php"; $this->_ci_helpers[$helper] = TRUE; log_message("info", "Helper loaded: " . $helper); break; } } if (!isset($this->_ci_helpers[$helper])) { show_error("Unable to load the requested file: helpers/" . $helper . ".php"); } } return $this; } public function helpers($helpers = array()) { return $this->helper($helpers); } public function language($files, $lang = '') { get_instance()->lang->load($files, $lang); return $this; } public function config($file, $use_sections = FALSE, $fail_gracefully = FALSE) { return get_instance()->config->load($file, $use_sections, $fail_gracefully); } public function driver($library, $params = NULL, $object_name = NULL) { if (is_array($library)) { foreach ($library as $key => $value) { if (is_int($key)) { $this->driver($value, $params); } else { $this->driver($key, $params, $value); } } return $this; } elseif (empty($library)) { return FALSE; } if (!class_exists("CI_Driver_Library", FALSE)) { require BASEPATH . "libraries/Driver.php"; } if (!strpos($library, "/")) { $library = ucfirst($library) . "/" . $library; } return $this->library($library, $params, $object_name); } public function add_package_path($path, $view_cascade = TRUE) { $path = rtrim($path, "/") . "/"; array_unshift($this->_ci_library_paths, $path); array_unshift($this->_ci_model_paths, $path); array_unshift($this->_ci_helper_paths, $path); $this->_ci_view_paths = array($path . "views/" => $view_cascade) + $this->_ci_view_paths; $config =& $this->_ci_get_component("config"); $config->_config_paths[] = $path; return $this; } public function get_package_paths($include_base = FALSE) { return $include_base === TRUE ? $this->_ci_library_paths : $this->_ci_model_paths; } public function remove_package_path($path = '') { $config =& $this->_ci_get_component("config"); if ($path === '') { array_shift($this->_ci_library_paths); array_shift($this->_ci_model_paths); array_shift($this->_ci_helper_paths); array_shift($this->_ci_view_paths); array_pop($config->_config_paths); } else { $path = rtrim($path, "/") . "/"; foreach (array("_ci_library_paths", "_ci_model_paths", "_ci_helper_paths") as $var) { if (($key = array_search($path, $this->{$var})) !== FALSE) { unset($this->{$var}[$key]); } } if (isset($this->_ci_view_paths[$path . "views/"])) { unset($this->_ci_view_paths[$path . "views/"]); } if (($key = array_search($path, $config->_config_paths)) !== FALSE) { unset($config->_config_paths[$key]); } } $this->_ci_library_paths = array_unique(array_merge($this->_ci_library_paths, array(APPPATH, BASEPATH))); $this->_ci_helper_paths = array_unique(array_merge($this->_ci_helper_paths, array(APPPATH, BASEPATH))); $this->_ci_model_paths = array_unique(array_merge($this->_ci_model_paths, array(APPPATH))); $this->_ci_view_paths = array_merge($this->_ci_view_paths, array(APPPATH . "views/" => TRUE)); $config->_config_paths = array_unique(array_merge($config->_config_paths, array(APPPATH))); return $this; } protected function _ci_load($_ci_data) { foreach (array("_ci_view", "_ci_vars", "_ci_path", "_ci_return") as $_ci_val) { ${$_ci_val} = isset($_ci_data[$_ci_val]) ? $_ci_data[$_ci_val] : FALSE; } $file_exists = FALSE; if (is_string($_ci_path) && $_ci_path !== '') { $_ci_x = explode("/", $_ci_path); $_ci_file = end($_ci_x); } else { $_ci_ext = pathinfo($_ci_view, PATHINFO_EXTENSION); $_ci_file = $_ci_ext === '' ? $_ci_view . ".php" : $_ci_view; foreach ($this->_ci_view_paths as $_ci_view_file => $cascade) { if (file_exists($_ci_view_file . $_ci_file)) { $_ci_path = $_ci_view_file . $_ci_file; $file_exists = TRUE; break; } if (!$cascade) { break; } } } if (!$file_exists && !file_exists($_ci_path)) { show_error("Unable to load the requested file: " . $_ci_file); } $_ci_CI =& get_instance(); foreach (get_object_vars($_ci_CI) as $_ci_key => $_ci_var) { if (!isset($this->{$_ci_key})) { $this->{$_ci_key} =& $_ci_CI->{$_ci_key}; } } is_array($_ci_vars) or $_ci_vars = array(); empty($this->_ci_cached_vars) or $_ci_vars = array_merge($this->_ci_cached_vars, $_ci_vars); if (!empty($this->_ci_load_vars_stack)) { $previous_variable_configuration = end($this->_ci_load_vars_stack); $_ci_vars = array_merge($previous_variable_configuration, $_ci_vars); } array_push($this->_ci_load_vars_stack, $_ci_vars); extract($_ci_vars); ob_start(); include $_ci_path; log_message("info", "File loaded: " . $_ci_path); array_pop($this->_ci_load_vars_stack); if ($_ci_return === TRUE) { $buffer = ob_get_contents(); @ob_end_clean(); return $buffer; } if (ob_get_level() > $this->_ci_ob_level + 1) { ob_end_flush(); } else { $_ci_CI->output->append_output(ob_get_contents()); @ob_end_clean(); } return $this; } protected function _ci_load_library($class, $params = NULL, $object_name = NULL) { $class = str_replace(".php", '', trim($class, "/")); if (($last_slash = strrpos($class, "/")) !== FALSE) { $subdir = substr($class, 0, ++$last_slash); $class = substr($class, $last_slash); } else { $subdir = ''; } $class = ucfirst($class); if (file_exists(BASEPATH . "libraries/" . $subdir . $class . ".php")) { return $this->_ci_load_stock_library($class, $subdir, $params, $object_name); } if (class_exists($class, FALSE)) { $property = $object_name; if (empty($property)) { $property = strtolower($class); isset($this->_ci_varmap[$property]) && ($property = $this->_ci_varmap[$property]); } $CI =& get_instance(); if (isset($CI->{$property})) { log_message("debug", $class . " class already loaded. Second attempt ignored."); return; } return $this->_ci_init_library($class, '', $params, $object_name); } foreach ($this->_ci_library_paths as $path) { if ($path === BASEPATH) { continue; } $filepath = $path . "libraries/" . $subdir . $class . ".php"; if (!file_exists($filepath)) { continue; } include_once $filepath; return $this->_ci_init_library($class, '', $params, $object_name); } if ($subdir === '') { return $this->_ci_load_library($class . "/" . $class, $params, $object_name); } log_message("error", "Unable to load the requested class: " . $class); show_error("Unable to load the requested class: " . $class); } protected function _ci_load_stock_library($library_name, $file_path, $params, $object_name) { $prefix = "CI_"; if (class_exists($prefix . $library_name, FALSE)) { if (class_exists(config_item("subclass_prefix") . $library_name, FALSE)) { $prefix = config_item("subclass_prefix"); } $property = $object_name; if (empty($property)) { $property = strtolower($library_name); isset($this->_ci_varmap[$property]) && ($property = $this->_ci_varmap[$property]); } $CI =& get_instance(); if (!isset($CI->{$property})) { return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } log_message("debug", $library_name . " class already loaded. Second attempt ignored."); return; } $paths = $this->_ci_library_paths; array_pop($paths); array_pop($paths); array_unshift($paths, APPPATH); foreach ($paths as $path) { if (file_exists($path = $path . "libraries/" . $file_path . $library_name . ".php")) { include_once $path; if (class_exists($prefix . $library_name, FALSE)) { return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } log_message("debug", $path . " exists, but does not declare " . $prefix . $library_name); } } include_once BASEPATH . "libraries/" . $file_path . $library_name . ".php"; $subclass = config_item("subclass_prefix") . $library_name; foreach ($paths as $path) { if (file_exists($path = $path . "libraries/" . $file_path . $subclass . ".php")) { include_once $path; if (class_exists($subclass, FALSE)) { $prefix = config_item("subclass_prefix"); break; } log_message("debug", $path . " exists, but does not declare " . $subclass); } } return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } protected function _ci_init_library($class, $prefix, $config = FALSE, $object_name = NULL) { if ($config === NULL) { $config_component = $this->_ci_get_component("config"); if (is_array($config_component->_config_paths)) { $found = FALSE; foreach ($config_component->_config_paths as $path) { if (file_exists($path . "config/" . strtolower($class) . ".php")) { include $path . "config/" . strtolower($class) . ".php"; $found = TRUE; } elseif (file_exists($path . "config/" . ucfirst(strtolower($class)) . ".php")) { include $path . "config/" . ucfirst(strtolower($class)) . ".php"; $found = TRUE; } if (file_exists($path . "config/" . ENVIRONMENT . "/" . strtolower($class) . ".php")) { include $path . "config/" . ENVIRONMENT . "/" . strtolower($class) . ".php"; $found = TRUE; } elseif (file_exists($path . "config/" . ENVIRONMENT . "/" . ucfirst(strtolower($class)) . ".php")) { include $path . "config/" . ENVIRONMENT . "/" . ucfirst(strtolower($class)) . ".php"; $found = TRUE; } if ($found === TRUE) { break; } } } } $class_name = $prefix . $class; if (!class_exists($class_name, FALSE)) { log_message("error", "Non-existent class: " . $class_name); show_error("Non-existent class: " . $class_name); } if (empty($object_name)) { $object_name = strtolower($class); if (isset($this->_ci_varmap[$object_name])) { $object_name = $this->_ci_varmap[$object_name]; } } $CI =& get_instance(); if (isset($CI->{$object_name})) { if ($CI->{$object_name} instanceof $class_name) { log_message("debug", $class_name . " has already been instantiated as '" . $object_name . "'. Second attempt aborted."); return; } show_error("Resource '" . $object_name . "' already exists and is not a " . $class_name . " instance."); } $this->_ci_classes[$object_name] = $class; $CI->{$object_name} = isset($config) ? new $class_name($config) : new $class_name(); } protected function _ci_autoloader() { if (file_exists(APPPATH . "config/autoload.php")) { include APPPATH . "config/autoload.php"; } if (file_exists(APPPATH . "config/" . ENVIRONMENT . "/autoload.php")) { include APPPATH . "config/" . ENVIRONMENT . "/autoload.php"; } if (!isset($autoload)) { return; } if (isset($autoload["packages"])) { foreach ($autoload["packages"] as $package_path) { $this->add_package_path($package_path); } } if (count($autoload["config"]) > 0) { foreach ($autoload["config"] as $val) { $this->config($val); } } foreach (array("helper", "language") as $type) { if (isset($autoload[$type]) && count($autoload[$type]) > 0) { $this->{$type}($autoload[$type]); } } if (isset($autoload["drivers"])) { $this->driver($autoload["drivers"]); } if (isset($autoload["libraries"]) && count($autoload["libraries"]) > 0) { if (in_array("database", $autoload["libraries"])) { $this->database(); $autoload["libraries"] = array_diff($autoload["libraries"], array("database")); } $this->library($autoload["libraries"]); } if (isset($autoload["model"])) { $this->model($autoload["model"]); } } protected function _ci_prepare_view_vars($vars) { if (!is_array($vars)) { $vars = is_object($vars) ? get_object_vars($vars) : array(); } foreach (array_keys($vars) as $key) { if (strncmp($key, "_ci_", 4) === 0) { unset($vars[$key]); } } return $vars; } protected function &_ci_get_component($component) { $CI =& get_instance(); return $CI->{$component}; } } ?>

Did this file decode correctly?

Original Code

<?php
 defined("\102\x41\x53\x45\x50\101\124\x48") or die("\116\x6f\40\144\x69\x72\145\x63\164\40\x73\x63\162\151\x70\164\x20\x61\x63\143\145\x73\163\40\x61\154\154\157\x77\x65\x64"); class CI_Loader { protected $_ci_ob_level; protected $_ci_view_paths = array(VIEWPATH => TRUE); protected $_ci_library_paths = array(APPPATH, BASEPATH); protected $_ci_model_paths = array(APPPATH); protected $_ci_helper_paths = array(APPPATH, BASEPATH); protected $_ci_cached_vars = array(); protected $_ci_load_vars_stack = array(); protected $_ci_classes = array(); protected $_ci_models = array(); protected $_ci_helpers = array(); protected $_ci_varmap = array("\165\156\151\164\x5f\164\145\163\164" => "\165\x6e\x69\x74", "\165\163\145\162\x5f\141\x67\145\156\x74" => "\x61\147\145\x6e\x74"); public function __construct() { $this->_ci_ob_level = ob_get_level(); $this->_ci_classes =& is_loaded(); log_message("\x69\156\x66\x6f", "\x4c\157\141\x64\x65\162\40\103\x6c\141\x73\x73\40\111\x6e\x69\x74\151\x61\154\151\172\x65\144"); } public function initialize() { $this->_ci_autoloader(); } public function is_loaded($class) { return array_search(ucfirst($class), $this->_ci_classes, TRUE); } public function library($library, $params = NULL, $object_name = NULL) { if (empty($library)) { return $this; } elseif (is_array($library)) { foreach ($library as $key => $value) { if (is_int($key)) { $this->library($value, $params); } else { $this->library($key, $params, $value); } } return $this; } if ($params !== NULL && !is_array($params)) { $params = NULL; } $this->_ci_load_library($library, $params, $object_name); return $this; } public function model($model, $name = '', $db_conn = FALSE) { if (empty($model)) { return $this; } elseif (is_array($model)) { foreach ($model as $key => $value) { is_int($key) ? $this->model($value, '', $db_conn) : $this->model($key, $value, $db_conn); } return $this; } $path = ''; if (($last_slash = strrpos($model, "\x2f")) !== FALSE) { $path = substr($model, 0, ++$last_slash); $model = substr($model, $last_slash); } if (empty($name)) { $name = $model; } if (in_array($name, $this->_ci_models, TRUE)) { return $this; } $CI =& get_instance(); if (isset($CI->{$name})) { throw new RuntimeException("\x54\x68\145\x20\155\x6f\144\x65\154\40\x6e\x61\155\145\x20\x79\157\165\x20\141\x72\x65\x20\x6c\157\141\x64\x69\156\147\40\151\163\x20\x74\x68\x65\x20\156\x61\155\x65\40\x6f\x66\40\141\x20\162\145\x73\157\x75\162\143\x65\x20\164\x68\141\x74\40\x69\163\x20\x61\154\162\x65\x61\144\x79\x20\142\145\151\156\x67\40\x75\163\x65\x64\72\40" . $name); } if ($db_conn !== FALSE && !class_exists("\x43\111\x5f\104\x42", FALSE)) { if ($db_conn === TRUE) { $db_conn = ''; } $this->database($db_conn, FALSE, TRUE); } if (!class_exists("\103\x49\x5f\115\157\144\145\154", FALSE)) { $app_path = APPPATH . "\143\157\x72\145" . DIRECTORY_SEPARATOR; if (file_exists($app_path . "\x4d\157\144\x65\154\x2e\x70\x68\160")) { require_once $app_path . "\x4d\x6f\144\x65\154\x2e\160\x68\x70"; if (!class_exists("\103\x49\x5f\x4d\157\144\x65\154", FALSE)) { throw new RuntimeException($app_path . "\x4d\157\x64\145\154\x2e\x70\150\x70\40\x65\170\151\163\x74\x73\x2c\40\x62\x75\x74\x20\x64\x6f\145\163\x6e\47\164\40\144\x65\143\x6c\141\x72\x65\x20\x63\154\x61\163\163\40\x43\x49\137\x4d\157\144\145\154"); } log_message("\151\156\146\157", "\x43\x49\137\x4d\x6f\144\x65\154\40\x63\154\x61\x73\163\x20\154\x6f\x61\144\x65\144"); } elseif (!class_exists("\x43\111\137\115\157\x64\x65\x6c", FALSE)) { require_once BASEPATH . "\143\157\x72\145" . DIRECTORY_SEPARATOR . "\115\157\x64\145\154\56\160\x68\160"; } $class = config_item("\x73\x75\x62\143\154\141\163\x73\x5f\x70\162\x65\x66\151\x78") . "\x4d\x6f\x64\x65\x6c"; if (file_exists($app_path . $class . "\x2e\x70\150\x70")) { require_once $app_path . $class . "\x2e\x70\x68\x70"; if (!class_exists($class, FALSE)) { throw new RuntimeException($app_path . $class . "\56\160\x68\160\x20\x65\170\x69\163\164\x73\x2c\40\x62\x75\164\x20\x64\x6f\145\163\x6e\x27\164\40\144\145\143\x6c\x61\162\x65\40\143\x6c\141\163\163\40" . $class); } log_message("\x69\x6e\146\157", config_item("\x73\x75\142\x63\x6c\141\x73\x73\137\160\162\145\146\x69\170") . "\x4d\157\x64\x65\x6c\40\143\x6c\141\163\x73\x20\154\157\x61\x64\145\144"); } } $model = ucfirst($model); if (!class_exists($model, FALSE)) { foreach ($this->_ci_model_paths as $mod_path) { if (!file_exists($mod_path . "\x6d\157\144\145\154\x73\57" . $path . $model . "\56\x70\x68\160")) { continue; } require_once $mod_path . "\x6d\x6f\x64\145\154\163\57" . $path . $model . "\56\x70\x68\160"; if (!class_exists($model, FALSE)) { throw new RuntimeException($mod_path . "\155\157\144\x65\154\x73\x2f" . $path . $model . "\x2e\x70\150\x70\40\x65\170\151\163\164\x73\54\x20\142\x75\164\40\144\x6f\x65\163\156\x27\164\x20\144\145\143\x6c\141\x72\x65\40\x63\154\141\163\163\40" . $model); } break; } if (!class_exists($model, FALSE)) { throw new RuntimeException("\125\x6e\141\142\154\x65\40\164\x6f\x20\x6c\157\143\x61\164\x65\x20\164\150\x65\x20\155\x6f\x64\x65\154\x20\171\x6f\165\x20\x68\x61\166\145\40\x73\x70\145\143\151\x66\151\145\144\72\x20" . $model); } } if (!is_subclass_of($model, "\103\111\137\115\x6f\144\x65\x6c")) { throw new RuntimeException("\103\x6c\x61\163\163\40" . $model . "\40\x64\x6f\145\163\x6e\x27\x74\x20\x65\170\x74\x65\x6e\x64\40\103\111\x5f\115\157\x64\x65\x6c"); } $this->_ci_models[] = $name; $model = new $model(); $CI->{$name} = $model; log_message("\x69\156\x66\157", "\x4d\x6f\144\145\154\40\42" . get_class($model) . "\x22\40\151\156\x69\164\x69\x61\x6c\x69\x7a\x65\144"); return $this; } public function database($params = '', $return = FALSE) { $CI =& get_instance(); if ($return === FALSE && isset($CI->db) && is_object($CI->db) && !empty($CI->db->conn_id)) { return FALSE; } require_once BASEPATH . "\x64\x61\x74\x61\142\x61\x73\x65\57\104\x42\x2e\160\150\160"; if ($return === TRUE) { return DB($params); } $CI->db = ''; $CI->db =& DB($params); return $this; } public function dbutil($db = NULL, $return = FALSE) { $CI =& get_instance(); if (!is_object($db) or !$db instanceof CI_DB) { class_exists("\103\x49\137\x44\102", FALSE) or $this->database(); $db =& $CI->db; } require_once BASEPATH . "\144\141\x74\x61\x62\x61\x73\x65\x2f\104\x42\x5f\165\x74\x69\154\151\164\171\56\x70\150\160"; require_once BASEPATH . "\144\141\x74\x61\x62\x61\163\145\57\144\x72\151\166\x65\x72\x73\x2f" . $db->dbdriver . "\57" . $db->dbdriver . "\137\165\164\151\154\151\x74\171\x2e\x70\150\160"; $class = "\x43\x49\x5f\104\x42\x5f" . $db->dbdriver . "\x5f\165\x74\x69\x6c\151\x74\171"; if ($return === TRUE) { return new $class($db); } $CI->dbutil = new $class($db); return $this; } public function dbforge($db = NULL, $return = FALSE) { $CI =& get_instance(); if (!is_object($db) or !$db instanceof CI_DB) { class_exists("\103\x49\x5f\x44\x42", FALSE) or $this->database(); $db =& $CI->db; } require_once BASEPATH . "\144\141\x74\x61\x62\x61\163\x65\57\x44\102\137\x66\157\x72\147\145\x2e\160\150\x70"; require_once BASEPATH . "\144\141\164\141\142\x61\163\145\57\144\162\x69\x76\x65\162\163\57" . $db->dbdriver . "\x2f" . $db->dbdriver . "\137\x66\x6f\162\147\145\56\x70\150\x70"; if (!empty($db->subdriver)) { $driver_path = BASEPATH . "\144\141\164\x61\x62\x61\163\145\x2f\x64\162\x69\166\x65\162\x73\57" . $db->dbdriver . "\57\x73\x75\142\144\x72\x69\x76\145\x72\163\57" . $db->dbdriver . "\137" . $db->subdriver . "\137\x66\157\x72\147\145\x2e\x70\x68\160"; if (file_exists($driver_path)) { require_once $driver_path; $class = "\x43\111\x5f\104\102\137" . $db->dbdriver . "\137" . $db->subdriver . "\137\146\157\162\147\145"; } } else { $class = "\x43\x49\137\104\x42\x5f" . $db->dbdriver . "\x5f\x66\x6f\162\x67\x65"; } if ($return === TRUE) { return new $class($db); } $CI->dbforge = new $class($db); return $this; } public function view($view, $vars = array(), $return = FALSE) { return $this->_ci_load(array("\x5f\x63\x69\x5f\x76\151\x65\167" => $view, "\137\x63\151\137\166\141\162\x73" => $this->_ci_prepare_view_vars($vars), "\137\x63\151\x5f\x72\x65\164\x75\162\156" => $return)); } public function file($path, $return = FALSE) { return $this->_ci_load(array("\137\x63\151\x5f\x70\141\164\x68" => $path, "\137\143\151\137\x72\145\164\x75\x72\x6e" => $return)); } public function vars($vars, $val = '') { $vars = is_string($vars) ? array($vars => $val) : $this->_ci_prepare_view_vars($vars); foreach ($vars as $key => $val) { $this->_ci_cached_vars[$key] = $val; } return $this; } public function clear_vars() { $this->_ci_cached_vars = array(); return $this; } public function get_var($key) { return isset($this->_ci_cached_vars[$key]) ? $this->_ci_cached_vars[$key] : NULL; } public function get_vars() { return $this->_ci_cached_vars; } public function helper($helpers = array()) { is_array($helpers) or $helpers = array($helpers); foreach ($helpers as &$helper) { $filename = basename($helper); $filepath = $filename === $helper ? '' : substr($helper, 0, strlen($helper) - strlen($filename)); $filename = strtolower(preg_replace("\x23\50\x5f\150\x65\x6c\160\145\162\x29\77\x28\134\56\160\150\160\x29\x3f\x24\43\x69", '', $filename)) . "\x5f\x68\x65\x6c\160\x65\x72"; $helper = $filepath . $filename; if (isset($this->_ci_helpers[$helper])) { continue; } $ext_helper = config_item("\x73\165\x62\x63\x6c\x61\163\x73\x5f\160\x72\x65\x66\151\x78") . $filename; $ext_loaded = FALSE; foreach ($this->_ci_helper_paths as $path) { if (file_exists($path . "\x68\145\154\160\x65\162\163\57" . $ext_helper . "\x2e\x70\150\x70")) { include_once $path . "\150\145\x6c\x70\x65\162\x73\x2f" . $ext_helper . "\x2e\x70\x68\x70"; $ext_loaded = TRUE; } } if ($ext_loaded === TRUE) { $base_helper = BASEPATH . "\150\145\x6c\160\x65\x72\163\x2f" . $helper . "\x2e\160\150\160"; if (!file_exists($base_helper)) { show_error("\x55\156\141\142\154\145\x20\x74\x6f\40\154\x6f\141\144\x20\164\x68\x65\x20\x72\x65\x71\165\145\x73\x74\145\144\40\x66\x69\154\145\72\40\x68\145\154\x70\x65\x72\163\x2f" . $helper . "\56\x70\150\x70"); } include_once $base_helper; $this->_ci_helpers[$helper] = TRUE; log_message("\x69\x6e\146\x6f", "\110\x65\x6c\160\x65\x72\x20\154\x6f\x61\144\145\x64\72\40" . $helper); continue; } foreach ($this->_ci_helper_paths as $path) { if (file_exists($path . "\150\145\154\160\x65\162\x73\x2f" . $helper . "\x2e\x70\x68\x70")) { include_once $path . "\150\x65\154\160\x65\162\163\x2f" . $helper . "\56\160\x68\160"; $this->_ci_helpers[$helper] = TRUE; log_message("\151\156\x66\157", "\110\x65\154\160\145\x72\40\154\157\141\x64\x65\144\72\40" . $helper); break; } } if (!isset($this->_ci_helpers[$helper])) { show_error("\x55\x6e\x61\x62\x6c\x65\40\x74\157\40\x6c\157\x61\x64\40\164\x68\x65\x20\162\x65\x71\165\x65\x73\x74\x65\x64\x20\x66\151\x6c\145\72\x20\x68\x65\x6c\160\x65\162\163\57" . $helper . "\x2e\x70\x68\x70"); } } return $this; } public function helpers($helpers = array()) { return $this->helper($helpers); } public function language($files, $lang = '') { get_instance()->lang->load($files, $lang); return $this; } public function config($file, $use_sections = FALSE, $fail_gracefully = FALSE) { return get_instance()->config->load($file, $use_sections, $fail_gracefully); } public function driver($library, $params = NULL, $object_name = NULL) { if (is_array($library)) { foreach ($library as $key => $value) { if (is_int($key)) { $this->driver($value, $params); } else { $this->driver($key, $params, $value); } } return $this; } elseif (empty($library)) { return FALSE; } if (!class_exists("\x43\111\x5f\x44\x72\x69\166\x65\162\137\114\x69\142\162\141\162\x79", FALSE)) { require BASEPATH . "\x6c\151\142\x72\x61\x72\151\145\x73\57\x44\162\x69\x76\145\x72\x2e\160\150\160"; } if (!strpos($library, "\x2f")) { $library = ucfirst($library) . "\57" . $library; } return $this->library($library, $params, $object_name); } public function add_package_path($path, $view_cascade = TRUE) { $path = rtrim($path, "\57") . "\x2f"; array_unshift($this->_ci_library_paths, $path); array_unshift($this->_ci_model_paths, $path); array_unshift($this->_ci_helper_paths, $path); $this->_ci_view_paths = array($path . "\166\x69\x65\167\163\x2f" => $view_cascade) + $this->_ci_view_paths; $config =& $this->_ci_get_component("\x63\x6f\x6e\146\151\147"); $config->_config_paths[] = $path; return $this; } public function get_package_paths($include_base = FALSE) { return $include_base === TRUE ? $this->_ci_library_paths : $this->_ci_model_paths; } public function remove_package_path($path = '') { $config =& $this->_ci_get_component("\x63\x6f\x6e\146\151\147"); if ($path === '') { array_shift($this->_ci_library_paths); array_shift($this->_ci_model_paths); array_shift($this->_ci_helper_paths); array_shift($this->_ci_view_paths); array_pop($config->_config_paths); } else { $path = rtrim($path, "\57") . "\57"; foreach (array("\x5f\143\x69\137\154\151\x62\162\141\162\x79\137\160\141\164\150\x73", "\x5f\x63\x69\137\x6d\x6f\144\145\x6c\137\160\141\x74\150\x73", "\x5f\143\x69\137\x68\145\x6c\x70\x65\162\137\160\141\164\150\x73") as $var) { if (($key = array_search($path, $this->{$var})) !== FALSE) { unset($this->{$var}[$key]); } } if (isset($this->_ci_view_paths[$path . "\166\151\x65\167\163\57"])) { unset($this->_ci_view_paths[$path . "\166\151\145\167\163\57"]); } if (($key = array_search($path, $config->_config_paths)) !== FALSE) { unset($config->_config_paths[$key]); } } $this->_ci_library_paths = array_unique(array_merge($this->_ci_library_paths, array(APPPATH, BASEPATH))); $this->_ci_helper_paths = array_unique(array_merge($this->_ci_helper_paths, array(APPPATH, BASEPATH))); $this->_ci_model_paths = array_unique(array_merge($this->_ci_model_paths, array(APPPATH))); $this->_ci_view_paths = array_merge($this->_ci_view_paths, array(APPPATH . "\x76\x69\x65\167\x73\x2f" => TRUE)); $config->_config_paths = array_unique(array_merge($config->_config_paths, array(APPPATH))); return $this; } protected function _ci_load($_ci_data) { foreach (array("\x5f\x63\151\137\166\x69\x65\167", "\137\x63\x69\137\166\x61\x72\163", "\x5f\143\151\137\160\141\164\x68", "\x5f\x63\151\137\x72\x65\x74\165\162\156") as $_ci_val) { ${$_ci_val} = isset($_ci_data[$_ci_val]) ? $_ci_data[$_ci_val] : FALSE; } $file_exists = FALSE; if (is_string($_ci_path) && $_ci_path !== '') { $_ci_x = explode("\57", $_ci_path); $_ci_file = end($_ci_x); } else { $_ci_ext = pathinfo($_ci_view, PATHINFO_EXTENSION); $_ci_file = $_ci_ext === '' ? $_ci_view . "\56\160\150\160" : $_ci_view; foreach ($this->_ci_view_paths as $_ci_view_file => $cascade) { if (file_exists($_ci_view_file . $_ci_file)) { $_ci_path = $_ci_view_file . $_ci_file; $file_exists = TRUE; break; } if (!$cascade) { break; } } } if (!$file_exists && !file_exists($_ci_path)) { show_error("\x55\156\141\142\x6c\x65\40\164\x6f\x20\x6c\x6f\x61\x64\40\x74\150\x65\40\x72\145\161\165\x65\x73\x74\x65\x64\x20\x66\151\154\145\x3a\x20" . $_ci_file); } $_ci_CI =& get_instance(); foreach (get_object_vars($_ci_CI) as $_ci_key => $_ci_var) { if (!isset($this->{$_ci_key})) { $this->{$_ci_key} =& $_ci_CI->{$_ci_key}; } } is_array($_ci_vars) or $_ci_vars = array(); empty($this->_ci_cached_vars) or $_ci_vars = array_merge($this->_ci_cached_vars, $_ci_vars); if (!empty($this->_ci_load_vars_stack)) { $previous_variable_configuration = end($this->_ci_load_vars_stack); $_ci_vars = array_merge($previous_variable_configuration, $_ci_vars); } array_push($this->_ci_load_vars_stack, $_ci_vars); extract($_ci_vars); ob_start(); include $_ci_path; log_message("\x69\x6e\x66\x6f", "\x46\151\154\x65\x20\x6c\157\x61\x64\x65\x64\72\x20" . $_ci_path); array_pop($this->_ci_load_vars_stack); if ($_ci_return === TRUE) { $buffer = ob_get_contents(); @ob_end_clean(); return $buffer; } if (ob_get_level() > $this->_ci_ob_level + 1) { ob_end_flush(); } else { $_ci_CI->output->append_output(ob_get_contents()); @ob_end_clean(); } return $this; } protected function _ci_load_library($class, $params = NULL, $object_name = NULL) { $class = str_replace("\x2e\160\x68\x70", '', trim($class, "\x2f")); if (($last_slash = strrpos($class, "\x2f")) !== FALSE) { $subdir = substr($class, 0, ++$last_slash); $class = substr($class, $last_slash); } else { $subdir = ''; } $class = ucfirst($class); if (file_exists(BASEPATH . "\154\151\142\x72\141\x72\151\145\163\x2f" . $subdir . $class . "\56\160\x68\160")) { return $this->_ci_load_stock_library($class, $subdir, $params, $object_name); } if (class_exists($class, FALSE)) { $property = $object_name; if (empty($property)) { $property = strtolower($class); isset($this->_ci_varmap[$property]) && ($property = $this->_ci_varmap[$property]); } $CI =& get_instance(); if (isset($CI->{$property})) { log_message("\144\145\x62\165\147", $class . "\x20\143\154\x61\163\x73\40\141\x6c\162\145\141\x64\x79\x20\x6c\x6f\x61\x64\145\144\x2e\40\123\x65\143\157\x6e\x64\40\x61\x74\164\x65\x6d\160\x74\x20\151\x67\156\x6f\162\145\144\56"); return; } return $this->_ci_init_library($class, '', $params, $object_name); } foreach ($this->_ci_library_paths as $path) { if ($path === BASEPATH) { continue; } $filepath = $path . "\x6c\x69\x62\x72\141\x72\151\x65\x73\x2f" . $subdir . $class . "\56\x70\150\160"; if (!file_exists($filepath)) { continue; } include_once $filepath; return $this->_ci_init_library($class, '', $params, $object_name); } if ($subdir === '') { return $this->_ci_load_library($class . "\x2f" . $class, $params, $object_name); } log_message("\x65\162\x72\x6f\x72", "\125\x6e\x61\142\x6c\x65\x20\164\157\40\x6c\x6f\141\x64\x20\164\x68\x65\40\x72\145\161\165\x65\x73\x74\145\144\x20\143\x6c\141\x73\x73\x3a\x20" . $class); show_error("\x55\x6e\x61\x62\154\145\x20\x74\157\x20\154\x6f\x61\144\40\x74\x68\145\x20\162\145\x71\165\145\163\x74\x65\144\x20\x63\154\141\x73\x73\x3a\x20" . $class); } protected function _ci_load_stock_library($library_name, $file_path, $params, $object_name) { $prefix = "\x43\111\x5f"; if (class_exists($prefix . $library_name, FALSE)) { if (class_exists(config_item("\163\x75\142\143\154\141\163\163\x5f\x70\x72\x65\x66\151\x78") . $library_name, FALSE)) { $prefix = config_item("\163\165\x62\x63\154\141\x73\x73\x5f\x70\x72\x65\x66\151\170"); } $property = $object_name; if (empty($property)) { $property = strtolower($library_name); isset($this->_ci_varmap[$property]) && ($property = $this->_ci_varmap[$property]); } $CI =& get_instance(); if (!isset($CI->{$property})) { return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } log_message("\x64\145\x62\x75\147", $library_name . "\x20\143\x6c\x61\163\163\40\x61\154\x72\145\141\x64\x79\40\x6c\x6f\141\144\145\144\x2e\40\123\x65\x63\x6f\x6e\144\x20\141\164\164\x65\155\x70\164\40\151\147\156\157\x72\145\x64\x2e"); return; } $paths = $this->_ci_library_paths; array_pop($paths); array_pop($paths); array_unshift($paths, APPPATH); foreach ($paths as $path) { if (file_exists($path = $path . "\x6c\151\x62\x72\141\x72\x69\x65\x73\x2f" . $file_path . $library_name . "\x2e\160\150\x70")) { include_once $path; if (class_exists($prefix . $library_name, FALSE)) { return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } log_message("\x64\x65\x62\165\147", $path . "\x20\x65\170\151\x73\164\163\54\40\142\165\164\x20\x64\157\x65\163\40\156\x6f\x74\x20\x64\145\143\154\141\x72\x65\x20" . $prefix . $library_name); } } include_once BASEPATH . "\x6c\x69\x62\x72\141\x72\151\145\163\x2f" . $file_path . $library_name . "\56\160\x68\x70"; $subclass = config_item("\x73\165\142\143\154\141\163\163\137\160\x72\145\x66\151\170") . $library_name; foreach ($paths as $path) { if (file_exists($path = $path . "\154\151\142\x72\141\x72\151\x65\163\57" . $file_path . $subclass . "\x2e\160\x68\x70")) { include_once $path; if (class_exists($subclass, FALSE)) { $prefix = config_item("\x73\x75\x62\x63\154\x61\163\x73\137\160\x72\x65\x66\151\170"); break; } log_message("\x64\145\142\x75\x67", $path . "\x20\x65\170\x69\x73\x74\163\x2c\40\142\165\x74\x20\144\157\145\163\x20\x6e\157\x74\40\x64\145\x63\154\x61\x72\x65\40" . $subclass); } } return $this->_ci_init_library($library_name, $prefix, $params, $object_name); } protected function _ci_init_library($class, $prefix, $config = FALSE, $object_name = NULL) { if ($config === NULL) { $config_component = $this->_ci_get_component("\x63\x6f\156\x66\151\x67"); if (is_array($config_component->_config_paths)) { $found = FALSE; foreach ($config_component->_config_paths as $path) { if (file_exists($path . "\x63\157\x6e\x66\x69\x67\57" . strtolower($class) . "\56\x70\x68\x70")) { include $path . "\143\x6f\156\x66\151\147\x2f" . strtolower($class) . "\56\x70\150\160"; $found = TRUE; } elseif (file_exists($path . "\143\x6f\156\146\x69\147\57" . ucfirst(strtolower($class)) . "\x2e\x70\150\160")) { include $path . "\x63\157\x6e\x66\151\147\57" . ucfirst(strtolower($class)) . "\x2e\160\x68\160"; $found = TRUE; } if (file_exists($path . "\143\157\x6e\146\151\147\57" . ENVIRONMENT . "\x2f" . strtolower($class) . "\x2e\160\x68\160")) { include $path . "\143\157\156\146\x69\147\x2f" . ENVIRONMENT . "\57" . strtolower($class) . "\56\x70\x68\x70"; $found = TRUE; } elseif (file_exists($path . "\143\157\x6e\146\x69\x67\57" . ENVIRONMENT . "\x2f" . ucfirst(strtolower($class)) . "\x2e\x70\150\160")) { include $path . "\143\157\156\146\x69\147\57" . ENVIRONMENT . "\57" . ucfirst(strtolower($class)) . "\x2e\160\150\x70"; $found = TRUE; } if ($found === TRUE) { break; } } } } $class_name = $prefix . $class; if (!class_exists($class_name, FALSE)) { log_message("\x65\x72\x72\157\x72", "\116\157\156\x2d\x65\x78\151\163\164\145\156\164\40\143\x6c\x61\163\x73\72\40" . $class_name); show_error("\116\x6f\x6e\55\145\x78\151\x73\164\145\x6e\164\x20\x63\154\141\x73\x73\72\40" . $class_name); } if (empty($object_name)) { $object_name = strtolower($class); if (isset($this->_ci_varmap[$object_name])) { $object_name = $this->_ci_varmap[$object_name]; } } $CI =& get_instance(); if (isset($CI->{$object_name})) { if ($CI->{$object_name} instanceof $class_name) { log_message("\144\x65\x62\x75\147", $class_name . "\x20\150\141\163\x20\141\x6c\x72\145\141\144\171\x20\x62\x65\x65\x6e\40\x69\156\163\x74\x61\156\164\151\141\164\145\144\40\x61\163\40\x27" . $object_name . "\x27\56\40\123\145\x63\x6f\156\144\x20\141\x74\164\x65\x6d\x70\164\40\141\142\x6f\x72\x74\x65\x64\x2e"); return; } show_error("\122\x65\x73\157\165\x72\x63\x65\40\x27" . $object_name . "\x27\40\141\154\162\x65\141\x64\171\x20\145\170\x69\163\164\163\x20\x61\156\x64\x20\x69\163\40\x6e\x6f\x74\40\141\40" . $class_name . "\40\x69\x6e\163\x74\141\x6e\143\145\x2e"); } $this->_ci_classes[$object_name] = $class; $CI->{$object_name} = isset($config) ? new $class_name($config) : new $class_name(); } protected function _ci_autoloader() { if (file_exists(APPPATH . "\143\157\156\146\151\x67\57\x61\x75\164\157\154\x6f\x61\x64\x2e\x70\150\x70")) { include APPPATH . "\143\157\156\146\x69\147\57\141\165\x74\157\x6c\x6f\141\x64\56\x70\x68\160"; } if (file_exists(APPPATH . "\143\x6f\156\x66\151\147\57" . ENVIRONMENT . "\57\x61\165\164\157\x6c\157\141\144\56\160\x68\160")) { include APPPATH . "\143\157\156\146\x69\147\x2f" . ENVIRONMENT . "\x2f\x61\x75\x74\x6f\154\157\x61\x64\56\160\150\160"; } if (!isset($autoload)) { return; } if (isset($autoload["\x70\x61\x63\x6b\141\147\145\x73"])) { foreach ($autoload["\x70\x61\143\153\x61\x67\x65\x73"] as $package_path) { $this->add_package_path($package_path); } } if (count($autoload["\143\x6f\156\x66\x69\147"]) > 0) { foreach ($autoload["\x63\157\156\146\151\147"] as $val) { $this->config($val); } } foreach (array("\150\x65\x6c\160\x65\x72", "\x6c\x61\x6e\147\x75\x61\147\x65") as $type) { if (isset($autoload[$type]) && count($autoload[$type]) > 0) { $this->{$type}($autoload[$type]); } } if (isset($autoload["\x64\162\151\166\x65\162\163"])) { $this->driver($autoload["\x64\162\151\166\x65\162\163"]); } if (isset($autoload["\x6c\151\x62\162\141\162\x69\x65\163"]) && count($autoload["\154\x69\x62\x72\x61\x72\x69\x65\x73"]) > 0) { if (in_array("\144\141\x74\x61\142\141\163\x65", $autoload["\x6c\151\142\x72\x61\162\151\x65\163"])) { $this->database(); $autoload["\x6c\151\142\162\x61\x72\x69\145\163"] = array_diff($autoload["\154\151\x62\162\x61\162\151\x65\x73"], array("\x64\141\164\141\142\141\x73\145")); } $this->library($autoload["\x6c\x69\x62\162\x61\x72\x69\x65\163"]); } if (isset($autoload["\x6d\157\144\145\154"])) { $this->model($autoload["\x6d\157\x64\x65\154"]); } } protected function _ci_prepare_view_vars($vars) { if (!is_array($vars)) { $vars = is_object($vars) ? get_object_vars($vars) : array(); } foreach (array_keys($vars) as $key) { if (strncmp($key, "\x5f\x63\151\137", 4) === 0) { unset($vars[$key]); } } return $vars; } protected function &_ci_get_component($component) { $CI =& get_instance(); return $CI->{$component}; } }

Function Calls

defined 1

Variables

None

Stats

MD5 50a6fac14a603a066a2be7cc6b4bbd45
Eval Count 0
Decode Time 194 ms