Fix path for bootstrap file #798
This commit is contained in:
parent
552196ce57
commit
55fa01478d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user