mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
修正mongo驱动一处Notice
修正response::redirect()一处变量
This commit is contained in:
@@ -214,7 +214,7 @@ class Response
|
||||
$http_response_code = $params;
|
||||
$params = [];
|
||||
}
|
||||
$url = preg_match('/^(https?:|\/)/', $s) ? $url : Url::build($url, $params);
|
||||
$url = preg_match('/^(https?:|\/)/', $url) ? $url : Url::build($url, $params);
|
||||
header('Location: ' . $url, true, $http_response_code);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user