Skip to content

Commit

Permalink
Fix path for bootstrap file #798
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Sep 2, 2020
1 parent 552196c commit 55fa014
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
}

// 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')) {
require $path_to_phpvms_folder.'../phpvms/bootstrap/autoload.php';
$app = require_once $path_to_phpvms_folder.'../phpvms/bootstrap/app.php';
elseif (file_exists($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';
}

// Bail out
Expand Down

0 comments on commit 55fa014

Please sign in to comment.