mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-02-21 15:31:12 +08:00
fix
This commit is contained in:
parent
1e638b5e4c
commit
259693fb3f
@ -21,7 +21,7 @@ class LoadConfig
|
||||
public function handle($request, \Closure $next)
|
||||
{
|
||||
if (!file_exists(app()->getRootPath().'.env')) {
|
||||
if (strpos($this->request->url(), '/install') === false) {
|
||||
if (strpos($request->url(), '/install') === false) {
|
||||
return redirect((string)url('/install'))->header([
|
||||
'Cache-Control' => 'no-store, no-cache, must-revalidate',
|
||||
'Pragma' => 'no-cache',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user