Updated isInstall() method
Updated inInstall herlper method to check value of install from config data as env(DB_INSTALL) returns null in some system
This commit is contained in:

committed by
Manish Verma

parent
2d90d56fcb
commit
f2070a93c6
@@ -124,7 +124,7 @@ function isInstall()
|
||||
{
|
||||
$check = false;
|
||||
$env = base_path('.env');
|
||||
if (\File::exists($env) && env('DB_INSTALL') == 1) {
|
||||
if (\File::exists($env) && \Config::get('database.install') == 1) {
|
||||
$check = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user