uiisc/core.php

14 lines
305 B
PHP
Raw Normal View History

2016-12-22 05:14:34 +00:00
<?php
2018-11-16 07:39:39 +00:00
if (!defined('IN_SYS')) {
// exit('禁止访问');
header("Location: index.php");
exit;
2017-09-08 07:01:08 +00:00
}
2019-06-05 10:05:31 +00:00
$ROOT = __DIR__;
include_once "{$ROOT}/data/config.php";
include_once "{$ROOT}/lib/language.php";
2017-09-08 07:01:08 +00:00
$rooturl = $_SERVER['HTTP_HOST'];
$domain = preg_replace('/^www\./', '', $rooturl);
2019-06-05 10:05:31 +00:00