You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
356 B
16 lines
356 B
<?php
|
|
require __DIR__.'/coreBase.php';
|
|
// error_reporting(E_ALL);
|
|
$dzz = C::app();
|
|
$dzz->init();
|
|
|
|
$admincp = new dzz_admincp();
|
|
$admincp->core = $dzz;
|
|
$admincp->init();
|
|
|
|
Hook::listen('dzz_initafter');//初始化后钩子
|
|
$files = Hook::listen('dzz_route',$_GET);//路由钩子,返回文件路径
|
|
foreach($files as $v){
|
|
require $v;//包含文件
|
|
}
|
|
|