20 lines
498 B
Text
20 lines
498 B
Text
|
Index: libexec/server-config.php
|
||
|
--- libexec/server-config.php.orig
|
||
|
+++ libexec/server-config.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+
|
||
|
*/
|
||
|
|
||
|
-require_once dirname(__DIR__).'/vendor/autoload.php';
|
||
|
-$baseDir = dirname(__DIR__);
|
||
|
+require_once '/var/www/vpn-server-node/vendor/autoload.php';
|
||
|
+$baseDir = '/var/www/vpn-server-node';
|
||
|
|
||
|
use Vpn\Node\Config;
|
||
|
use Vpn\Node\ConfigWriter;
|