-
include /www/wwwroot/www.hsdyjx.com/cms/libs/classes/service.class.php — include()
-
/www/wwwroot/www.hsdyjx.com/cms/modules/content/index.php : 59 — service->display ()
52 } else { 53 define('IS_HTML', 0); 54 } 55 } 56 }else{ 57 define('IS_HTML', dr_site_info('ishtml', $siteid)); 58 } 59 pc_base::load_sys_class('service')->display('content','index',$default_style); 60 } 61 //列表页 62 public function lists() { 63 if (IS_POST) { 64 dr_json(0, L('禁止提交,请检查提交地址是否有误')); 65 } 66 $catid = intval($this->input->get('catid'));
-
/www/wwwroot/www.hsdyjx.com/cms/libs/classes/application.class.php : 118 — index->init ()
111 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件'); 112 } 113 } else { 114 if (method_exists($controller, ROUTE_A)) { 115 if (preg_match('/^[_]/i', ROUTE_A)) { 116 dr_exit_msg(0, 'You are visiting the action is to protect the private action'); 117 } else { 118 call_user_func(array($controller, ROUTE_A)); 119 if (IS_ADMIN && CI_DEBUG && !IS_AJAX) { 120 if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) { 121 $this->debug->message(); 122 } 123 } 124 if (!IS_ADMIN && IS_DEV && !IS_AJAX) { 125 $this->debug->message();
-
/www/wwwroot/www.hsdyjx.com/cms/libs/classes/application.class.php : 61 — application->init ()
54 if ((defined('IS_MOBILE') && IS_MOBILE) || (is_mobile(SITE_ID) && dr_site_info('mobileauto', SITE_ID))) { 55 // 移动端模板 // 开启自动识别移动端 56 pc_base::load_sys_class('service')->init('mobile'); 57 } else { 58 // 默认情况下pc模板 59 pc_base::load_sys_class('service')->init('pc'); 60 } 61 $this->init(); 62 // 挂钩点 程序结束之后 63 pc_base::load_sys_class('hooks')::trigger('cms_close'); 64 } 65 66 /** 67 * 调用件事 68 */
-
/www/wwwroot/www.hsdyjx.com/cms/base.php : 471 — application->__construct ()
464 include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php'; 465 $name = $classname; 466 if ($my_path = self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) { 467 include $my_path; 468 $name = 'MY_'.$classname; 469 } 470 if ($initialize) { 471 $classes[$key] = new $name; 472 } else { 473 $classes[$key] = true; 474 } 475 return $classes[$key]; 476 } else { 477 CI_DEBUG && log_message('debug', '类文件:'.$path.DIRECTORY_SEPARATOR.$classname.'.class.php不存在'); 478 return false;
-
/www/wwwroot/www.hsdyjx.com/cms/base.php : 422 — pc_base::_load_class ()
415 /** 416 * 加载系统类方法 417 * @param string $classname 类名 418 * @param string $path 扩展地址 419 * @param intger $initialize 是否初始化 420 */ 421 public static function load_sys_class($classname, $path = '', $initialize = 1) { 422 return self::_load_class($classname, $path, $initialize); 423 } 424 425 /** 426 * 加载应用类方法 427 * @param string $classname 类名 428 * @param string $m 模块 429 * @param intger $initialize 是否初始化
-
/www/wwwroot/www.hsdyjx.com/cms/base.php : 413 — pc_base::load_sys_class ()
406 407 class pc_base { 408 409 /** 410 * 初始化应用程序 411 */ 412 public static function creat_app() { 413 return self::load_sys_class('application'); 414 } 415 /** 416 * 加载系统类方法 417 * @param string $classname 类名 418 * @param string $path 扩展地址 419 * @param intger $initialize 是否初始化 420 */
-
/www/wwwroot/www.hsdyjx.com/index.php : 43 — pc_base::creat_app ()
36 // 判断安装 37 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) { 38 dr_dir_delete('install', TRUE); 39 } 40 // 结束,安装之后可以删除此段代码 41 42 // 执行主程序 43 pc_base::creat_app();