2023-08-16 22:26:55 +00:00
|
|
|
Index: bin/account.php
|
|
|
|
--- bin/account.php.orig
|
|
|
|
+++ bin/account.php
|
|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
+#!/usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
@@ -9,8 +10,8 @@ declare(strict_types=1);
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0+
|
|
|
|
*/
|
|
|
|
|
2023-10-11 18:19:00 +00:00
|
|
|
-require_once dirname(__DIR__) . '/vendor/autoload.php';
|
2023-08-16 22:26:55 +00:00
|
|
|
-$baseDir = dirname(__DIR__);
|
|
|
|
+require_once '/var/www/vpn-user-portal/vendor/autoload.php';
|
|
|
|
+$baseDir = '/var/www/vpn-user-portal';
|
|
|
|
|
|
|
|
use fkooman\OAuth\Server\PdoStorage as OAuthStorage;
|
|
|
|
use Vpn\Portal\Cfg\Config;
|