Err: Controller 'mainController' is not exists!

480.      }
481.  }
482.  function _err_router($msg){
483.      Global $__module$__controller$__action;
484.      if(!method_exists('BaseController''err404')){
485.          err($msg);
486.      }else{
487.          BaseController::err404($__module$__controller$__action$msg);
488.      }
489.  }
490.  function _err_handle($errno$errstr$errfile$errline){
72.  if(!empty($__module)){
73.      if(!is_available_classname($__module))_err_router("Err: Module '$__module' is not correct!");
74.      if(!is_dir(APP_DIR.DS.'protected'.DS.'controller'.DS.$__module))_err_router("Err: Module '$__module' is not exists!");
75.  }
76.  if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
77.  if(!class_exists($controller_nametrue))_err_router("Err: Controller '$controller_name' is not exists!");
78.  if(!method_exists($controller_name$action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
79. 
80.  $controller_obj = new $controller_name();
81.  $controller_obj->$action_name();
82. 
1.  <?php
2.  define('APP_DIR'realpath('./'));
3.  require(APP_DIR.'/protected/lib/speed.php');