Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1.     public function routeAction($action_name) {
  2.        
  3.         $core = cmsCore::getInstance();
  4.        
  5.         if (!$this->isActionExists($action_name)){                 
  6.             $core->uri_controller = 'content';     
  7.             $core->runController();        
  8.             $this->current_params = array();
  9.             return 'exit';
  10.         }
  11.        
  12.         return $action_name;
  13.        
  14.     }
  15.    
  16.     public function actionExit(){ return; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement