diff --git a/public/index.php b/public/index.php index b0969b4d..8b803488 100755 --- a/public/index.php +++ b/public/index.php @@ -10,12 +10,14 @@ * the 'path.public' path to where it lives. */ -require __DIR__.'/../bootstrap/autoload.php'; +$path_to_phpvms_folder = __DIR__.'/../'; + +require $path_to_phpvms_folder.'/bootstrap/autoload.php'; /** * @var $app Illuminate\Foundation\Application */ -$app = require_once __DIR__.'/../bootstrap/app.php'; +$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php'; $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);