uiisc/core.php
2019-06-05 18:05:31 +08:00

13 lines
305 B
PHP

<?php
if (!defined('IN_SYS')) {
// exit('禁止访问');
header("Location: index.php");
exit;
}
$ROOT = __DIR__;
include_once "{$ROOT}/data/config.php";
include_once "{$ROOT}/lib/language.php";
$rooturl = $_SERVER['HTTP_HOST'];
$domain = preg_replace('/^www\./', '', $rooturl);