diff --git a/bootstrap/chkenv.php b/bootstrap/chkenv.php index d079d15a..be6f4a75 100644 --- a/bootstrap/chkenv.php +++ b/bootstrap/chkenv.php @@ -1,5 +1,7 @@ '. diff --git a/public/index.php b/public/index.php index a49ecf2b..b7be5f35 100755 --- a/public/index.php +++ b/public/index.php @@ -16,6 +16,15 @@ define('LARAVEL_START', microtime(true)); require __DIR__.'/../vendor/autoload.php'; +/* +|-------------------------------------------------------------------------- +| Environment Check +|-------------------------------------------------------------------------- +*/ +if (!file_exists(__DIR__.'/../storage/install.lock')) { + require __DIR__.'/../bootstrap/chkenv.php'; +} + /* |-------------------------------------------------------------------------- | Turn On The Lights