Jackson Dou 2 年之前
父節點
當前提交
be8350320b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/core.php

+ 3 - 3
src/core.php

@@ -1,12 +1,12 @@
 <?php
 <?php
+header("X-Powered-By: UIISC");
+header("Content-Type: text/html; charset=UTF-8");
+
 if (!defined('IN_SYS')) {
 if (!defined('IN_SYS')) {
     // exit('禁止访问');
     // exit('禁止访问');
     header("Location: index.php");
     header("Location: index.php");
     exit;
     exit;
 }
 }
-header("X-Powered-By: PHP");
-header("Content-Type: text/html; charset=UTF-8");
-
 $ROOT = __DIR__;
 $ROOT = __DIR__;
 include_once "{$ROOT}/data/config.php";
 include_once "{$ROOT}/data/config.php";
 include_once "{$ROOT}/library/lang.class.php";
 include_once "{$ROOT}/library/lang.class.php";