取消安装
This commit is contained in:
parent
288b03cc5a
commit
e88a2f1acf
|
|
@ -24,9 +24,9 @@ class InstallMiddleware extends BaseMiddleware
|
|||
|
||||
public function before(Request $request)
|
||||
{
|
||||
if(!file_exists(__DIR__.'/../../../install/install.lock')){
|
||||
throw new HttpResponseException( Response::create('/install.html', 'redirect')->code(302));
|
||||
}
|
||||
// if(!file_exists(__DIR__.'/../../../install/install.lock')){
|
||||
// throw new HttpResponseException( Response::create('/install.html', 'redirect')->code(302));
|
||||
// }
|
||||
}
|
||||
|
||||
public function after(Response $response)
|
||||
|
|
|
|||
BIN
config/crmeb.php
BIN
config/crmeb.php
Binary file not shown.
|
|
@ -1,4 +0,0 @@
|
|||
mp-weixin/*
|
||||
download/*
|
||||
!.gitignore
|
||||
!express.xlsx
|
||||
Binary file not shown.
|
|
@ -662,5 +662,4 @@ Route::group('/pages', function () {
|
|||
Route::group('/open-location', function () {
|
||||
Route::miss('View/h5');
|
||||
})->middleware(InstallMiddleware::class)
|
||||
->middleware(CheckSiteOpenMiddleware::class)
|
||||
;
|
||||
->middleware(CheckSiteOpenMiddleware::class);
|
||||
|
|
|
|||
Loading…
Reference in New Issue