Rewrite rules and block installed if it's already installed

This commit is contained in:
Nabeel Shahzad
2017-12-17 11:29:11 -06:00
parent dcb34eedb8
commit abd2d8e8e2
6 changed files with 21 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ class InstallerController extends AppBaseController
*/
public function index()
{
if(config('app.key') !== 'NOT_INSTALLED') {
return view('installer::errors/already-installed');
}
return view('installer::index-start');
}