Example #1
0
 protected function getControllerSession()
 {
     if (!class_exists('ControllerSession')) {
         require_once CORE_ROOT . CONTROLLERS . DIRECTORY_SEPARATOR . 'ControllerSession.php';
     }
     if (!is_object($this->session)) {
         $this->session = ControllerSession::getInstance();
     }
 }