Convert .env file to env.php to mask critical info

This commit is contained in:
Nabeel Shahzad
2017-12-17 01:10:49 -06:00
parent 817d3262d4
commit 9105c45ad0
8 changed files with 95 additions and 8 deletions

View File

@@ -14,11 +14,7 @@ $path_to_phpvms_folder = __DIR__.'/../';
require $path_to_phpvms_folder.'/bootstrap/autoload.php';
/**
* @var $app Illuminate\Foundation\Application
*/
$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php';
$app->setPublicPath(__DIR__);
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);