Make path to phpvms easier to change
This commit is contained in:
parent
7473b179c0
commit
3d43864bbd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user