Fix checking specific environment file
This commit is contained in:
parent
e5db3a720c
commit
08afd5df89
|
|
@ -35,7 +35,7 @@ class BootServiceProvider extends ServiceProvider
|
||||||
protected function checkFilePermissions()
|
protected function checkFilePermissions()
|
||||||
{
|
{
|
||||||
// check dotenv
|
// check dotenv
|
||||||
if (!file_exists(base_path('.env'))) {
|
if (!file_exists(app()->environmentFile())) {
|
||||||
throw new PrettyPageException(trans('setup.file.no-dot-env'), -1);
|
throw new PrettyPageException(trans('setup.file.no-dot-env'), -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user