Merge branch 'master' of http://app.git.1nww.com:8188/gitlab-instance-db4ab2e7/cxhxy
This commit is contained in:
commit
07a6a8b9fa
@ -25,6 +25,13 @@ if (!is_file(INSTALL_URL . 'install.lock')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
header("Access-Control-Allow-Origin:*");
|
||||
|
||||
header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
|
||||
|
||||
header("Access-Control-Allow-Headers:x-requested-with, Referer,content-type,token,DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding");
|
||||
|
||||
|
||||
// 加载核心文件
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user