Fix path for bootstrap file #798

This commit is contained in:
Nabeel Shahzad 2020-09-02 18:52:52 -04:00
parent 552196ce57
commit 55fa01478d

View File

@ -21,9 +21,9 @@ if (file_exists($path_to_phpvms_folder.'bootstrap/autoload.php')) {
} }
// Look up one more folder up (outside of the Laravel root) and in the `phpvms` subfolder // Look up one more folder up (outside of the Laravel root) and in the `phpvms` subfolder
elseif (file_exists($path_to_phpvms_folder.'../phpvms/bootstrap/autoload.php')) { elseif (file_exists($path_to_phpvms_folder.'phpvms/bootstrap/autoload.php')) {
require $path_to_phpvms_folder.'../phpvms/bootstrap/autoload.php'; require $path_to_phpvms_folder.'phpvms/bootstrap/autoload.php';
$app = require_once $path_to_phpvms_folder.'../phpvms/bootstrap/app.php'; $app = require_once $path_to_phpvms_folder.'phpvms/bootstrap/app.php';
} }
// Bail out // Bail out