mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
改进Request类和Route类的checkDomain方法
This commit is contained in:
@@ -192,6 +192,11 @@ class Request
|
||||
$options['cookie'] = $cookie;
|
||||
$options['file'] = $files;
|
||||
$options['server'] = $server;
|
||||
$options['url'] = $server['REQUEST_URI'];
|
||||
$options['baseUrl'] = $info['path'];
|
||||
$options['pathinfo'] = $info['path'];
|
||||
$options['method'] = $server['REQUEST_METHOD'];
|
||||
$options['domain'] = $server['HTTP_HOST'];
|
||||
self::$instance = new self($options);
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user