~fkooman/vpn-user-portal

95ea2e8af7075e5438c55710dd89d3d76a72504b — François Kooman 2 years ago 231efb1
remove config in well-known.php
1 files changed, 0 insertions(+), 2 deletions(-)

M web/well-known.php
M web/well-known.php => web/well-known.php +0 -2
@@ 10,13 10,11 @@
require_once dirname(__DIR__).'/vendor/autoload.php';
$baseDir = dirname(__DIR__);

use LC\Common\Config;
use LC\Common\FileIO;
use LC\Common\Http\JsonResponse;
use LC\Common\Http\Request;

try {
    $config = Config::fromFile(sprintf('%s/config/config.php', $baseDir));
    $request = new Request($_SERVER, $_GET, $_POST);

    if (false === $appRoot = getenv('VPN_APP_ROOT')) {