-
include D:\wwwroot\www.sunew.net\cms\libs\classes\service.class.php — include()
-
D:\wwwroot\www.sunew.net\cms\modules\content\index.php : 59 — service->display ( arguments )
$modulecontent
$templateindex
$stylesunew2026
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')); -
D:\wwwroot\www.sunew.net\cms\libs\classes\application.class.php : 130 — index->init ()
123 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件'); 124 } 125 } else { 126 if (method_exists($controller, ROUTE_A)) { 127 if (preg_match('/^[_]/i', ROUTE_A)) { 128 dr_exit_msg(0, 'You are visiting the action is to protect the private action'); 129 } else { 130 call_user_func(array($controller, ROUTE_A)); 131 if (IS_ADMIN && CI_DEBUG && !IS_AJAX) { 132 if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) { 133 $this->debug->message(); 134 } 135 } 136 if (!IS_ADMIN && IS_DEV && !IS_AJAX) { 137 $this->debug->message(); -
D:\wwwroot\www.sunew.net\cms\libs\classes\application.class.php : 73 — application->init ()
66 define('CLIENT_URL', SITE_URL); 67 define('CLIENT_NAME', 'pc'); 68 } 69 !defined('IS_CLIENT') && define('IS_CLIENT', ''); 70 if (module_exists('content') && is_file(PC_PATH.'modules/content/config/run.php')) { 71 require PC_PATH.'modules/content/config/run.php'; 72 } 73 $this->init(); 74 // 挂钩点 程序结束之后 75 pc_base::load_sys_class('hooks')::trigger('cms_close'); 76 } 77 78 /** 79 * 调用件事 80 */ -
D:\wwwroot\www.sunew.net\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; -
D:\wwwroot\www.sunew.net\cms\base.php : 422 — pc_base::_load_class ( arguments )
$classnameapplication
$pathlibs\classes
$initialize1
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 是否初始化 -
D:\wwwroot\www.sunew.net\cms\base.php : 413 — pc_base::load_sys_class ( arguments )
$classnameapplication
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 */ -
D:\wwwroot\www.sunew.net\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();