-
G:\new\cms\modules\content\myso.php : 34 — debug->errorHandler ()
27 else showmessage(''); 28 } 29 30 if(!isset($_GET['catid'])) showmessage(L('missing_part_parameters')); 31 $catid = intval($_GET['catid']); 32 $siteids = getcache('category_content','commons'); 33 $siteid = $siteids[$catid]; 34 $this->categorys = getcache('category_content_'.$siteid,'commons'); 35 if(!isset($this->categorys[$catid])) showmessage(L('missing_part_parameters')); 36 if(isset($_GET['info']['catid']) && $_GET['info']['catid']) { 37 $catid = intval($_GET['info']['catid']); 38 } else { 39 $_GET['info']['catid'] = 0; 40 } 41 $modelid = $this->categorys[$catid]['modelid']; -
G:\new\cms\libs\classes\application.class.php : 48 — myso->init ()
41 set_error_handler([$this->debug, 'errorHandler']); 42 register_shutdown_function([$this->debug, 'shutdownHandler']); 43 $controller = $this->load_controller(); 44 if (method_exists($controller, ROUTE_A)) { 45 if (preg_match('/^[_]/i', ROUTE_A)) { 46 exit('You are visiting the action is to protect the private action'); 47 } else { 48 call_user_func(array($controller, ROUTE_A)); 49 if (IS_ADMIN && CI_DEBUG && !IS_AJAX) { 50 if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) { 51 $this->debug->message(); 52 } 53 } 54 if (!IS_ADMIN && IS_DEV && !IS_AJAX) { 55 $this->debug->message(); -
G:\new\cms\libs\classes\application.class.php : 33 — application->init ()
26 register_shutdown_function(array($this->debug,'fatalerror')); 27 set_error_handler(array($this->debug,'error_handler')); 28 set_exception_handler(array($this->debug, 'exception')); 29 $this->param = pc_base::load_sys_class('param'); 30 define('ROUTE_M', $this->param->route_m()); 31 define('ROUTE_C', $this->param->route_c()); 32 define('ROUTE_A', $this->param->route_a()); 33 $this->init(); 34 } 35 36 /** 37 * 调用件事 38 */ 39 private function init() { 40 set_exception_handler([$this->debug, 'exceptionHandler']); -
G:\new\cms\base.php : 448 — application->__construct ()
441 include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php'; 442 $name = $classname; 443 if ($my_path = self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) { 444 include $my_path; 445 $name = 'MY_'.$classname; 446 } 447 if ($initialize) { 448 $classes[$key] = new $name; 449 } else { 450 $classes[$key] = true; 451 } 452 // 站群系统接入 453 if (is_file(CMS_PATH.'api/fclient/sync.php')) { 454 $sync = require CMS_PATH.'api/fclient/sync.php'; 455 if ($sync['status'] == 4) { -
G:\new\cms\base.php : 399 — pc_base::_load_class ()
392 /** 393 * 加载系统类方法 394 * @param string $classname 类名 395 * @param string $path 扩展地址 396 * @param intger $initialize 是否初始化 397 */ 398 public static function load_sys_class($classname, $path = '', $initialize = 1) { 399 return self::_load_class($classname, $path, $initialize); 400 } 401 402 /** 403 * 加载应用类方法 404 * @param string $classname 类名 405 * @param string $m 模块 406 * @param intger $initialize 是否初始化 -
G:\new\cms\base.php : 390 — pc_base::load_sys_class ()
383 384 class pc_base { 385 386 /** 387 * 初始化应用程序 388 */ 389 public static function creat_app() { 390 return self::load_sys_class('application'); 391 } 392 /** 393 * 加载系统类方法 394 * @param string $classname 类名 395 * @param string $path 扩展地址 396 * @param intger $initialize 是否初始化 397 */ -
G:\new\qgpx\index.php : 57 — pc_base::creat_app ()
50 } 51 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) { 52 pc_base::load_sys_func('dir'); 53 dir_delete('install'); 54 } 55 // 结束,安装之后可以删除此段代码 56 57 pc_base::creat_app(); 58 ?>