-
include /data/wwwroot/hhhtsdsyy/cms/libs/classes/service.class.php — include()
-
/data/wwwroot/hhhtsdsyy/cms/modules/content/index.php : 277 — service->display ()
270 define('IS_HTML', 0); 271 } 272 pc_base::load_sys_class('service')->display('mobile',$template); 273 } 274 }else{ 275 define('ISMOBILE', 0); 276 define('IS_HTML', $setting['ishtml']); 277 pc_base::load_sys_class('service')->display('content',$template); 278 } 279 } 280 } 281 //内容页 282 public function show() { 283 if (IS_POST) { 284 dr_json(0, L('禁止提交,请检查提交地址是否有误'));
-
/data/wwwroot/hhhtsdsyy/cms/libs/classes/application.class.php : 114 — index->lists ()
107 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件'); 108 } 109 } else { 110 if (method_exists($controller, ROUTE_A)) { 111 if (preg_match('/^[_]/i', ROUTE_A)) { 112 dr_exit_msg(0, 'You are visiting the action is to protect the private action'); 113 } else { 114 call_user_func(array($controller, ROUTE_A)); 115 if (IS_ADMIN && CI_DEBUG && !IS_AJAX) { 116 if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) { 117 $this->debug->message(); 118 } 119 } 120 if (!IS_ADMIN && IS_DEV && !IS_AJAX) { 121 $this->debug->message();
-
/data/wwwroot/hhhtsdsyy/cms/libs/classes/application.class.php : 57 — application->init ()
50 } 51 // 是否前端 52 define('IS_HOME', !IS_ADMIN && !IS_MEMBER); 53 if (IS_ADMIN) { 54 // 开启session 55 $this->session(); 56 } 57 $this->init(); 58 // 挂钩点 程序结束之后 59 pc_base::load_sys_class('hooks')::trigger('cms_close'); 60 } 61 62 /** 63 * 调用件事 64 */
-
/data/wwwroot/hhhtsdsyy/cms/base.php : 469 — application->__construct ()
462 include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php'; 463 $name = $classname; 464 if ($my_path = self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) { 465 include $my_path; 466 $name = 'MY_'.$classname; 467 } 468 if ($initialize) { 469 $classes[$key] = new $name; 470 } else { 471 $classes[$key] = true; 472 } 473 // 站群系统接入 474 if (is_file(CMS_PATH.'api/fclient/sync.php')) { 475 $sync = require CMS_PATH.'api/fclient/sync.php'; 476 if ($sync['status'] == 4) {
-
/data/wwwroot/hhhtsdsyy/cms/base.php : 420 — pc_base::_load_class ()
413 /** 414 * 加载系统类方法 415 * @param string $classname 类名 416 * @param string $path 扩展地址 417 * @param intger $initialize 是否初始化 418 */ 419 public static function load_sys_class($classname, $path = '', $initialize = 1) { 420 return self::_load_class($classname, $path, $initialize); 421 } 422 423 /** 424 * 加载应用类方法 425 * @param string $classname 类名 426 * @param string $m 模块 427 * @param intger $initialize 是否初始化
-
/data/wwwroot/hhhtsdsyy/cms/base.php : 411 — pc_base::load_sys_class ()
404 405 class pc_base { 406 407 /** 408 * 初始化应用程序 409 */ 410 public static function creat_app() { 411 return self::load_sys_class('application'); 412 } 413 /** 414 * 加载系统类方法 415 * @param string $classname 类名 416 * @param string $path 扩展地址 417 * @param intger $initialize 是否初始化 418 */
-
/data/wwwroot/hhhtsdsyy/index.php : 40 — pc_base::creat_app ()
33 // 判断安装 34 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) { 35 dr_dir_delete('install', TRUE); 36 } 37 // 结束,安装之后可以删除此段代码 38 39 // 执行主程序 40 pc_base::creat_app();