uiisc/core.php

16 lines
399 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";
2019-06-23 14:53:09 +00:00
include_once "{$ROOT}/library/language.php";
2019-06-24 10:14:22 +00:00
include_once "{$ROOT}/library/functions.php";
2019-06-26 02:02:35 +00:00
include_once "{$ROOT}/library/dbpdo.php";
2019-06-05 10:05:31 +00:00
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