示例#1
0
 /**
  * Конструктор класса
  *
  */
 public function __construct()
 {
     $CI =& get_instance();
     if ($CI->config->item('debug_mode')) {
         $CI->load->helper('firephp');
         $this->firephp =& get_firephp();
     }
 }
 /**
  * Конструктор класса
  *
  */
 public function __construct()
 {
     $this->obj =& get_instance();
     $this->obj->load->model('global_variables');
     $this->obj->load->helper('launch');
     $this->obj->load->helper('location');
     $this->obj->load->helper('useragent');
     $this->obj->load->library('logger');
     $this->obj->load->library('benchmark');
     $this->server = (int) $this->obj->config->item('server_id');
     if ($this->obj->config->item('debug_mode')) {
         $this->obj->load->helper('firephp');
         $this->firephp =& get_firephp();
     }
 }