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
454 B
16 lines
454 B
<?php
|
|
error_reporting(E_ALL ^ E_NOTICE);
|
|
header("Content-type:text/html; charset=utf-8");
|
|
if(!file_exists("config/install.lock"))
|
|
{
|
|
header("Location: install/");
|
|
exit;
|
|
}
|
|
define("ROOT_PATH", str_replace("\\", "/", dirname(__FILE__))."/");
|
|
require("config/version.php");
|
|
require(ROOT_PATH."config/config.php");
|
|
require(ROOT_PATH."config/setconfig.php");
|
|
/***解析pathinfo*/
|
|
$url=$_SERVER['REQUEST_URI'];
|
|
if(preg_match("/moduleadmin.php\//i",$url)){
|