| <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); |
| * An open source application development framework for PHP 4.3.2 or newer |
| * @copyright Copyright (c) 2006, pMachine, Inc. |
| * @license http://www.codeignitor.com/user_guide/license.html |
| * @link http://www.codeigniter.com |
| // ------------------------------------------------------------------------ |
| * This file contains some code used only when Code Igniter is being |
| * run under PHP 5. It allows us to manage the CI super object more |
| * gracefully than what is possible with PHP 4. |
| * @subpackage codeigniter |
| * @category front-controller |
| * @link http://www.codeigniter.com/user_guide/ |
| public function CI_Base() |
| $instance =& _load_class('Instance'); |
| $instance->set_instance($this); |
| public function set_instance(&$object) |
| self::$instance =& $object; |
| public function &get_instance() |
| $instance =& _load_class('Instance'); |
| return $instance->get_instance(); |