Fix SFTP directory creation

This commit is contained in:
Miraty 2022-05-06 14:06:36 +02:00
parent 50c23f6245
commit f773c2fe8e
2 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,7 @@ define("SERVICE", substr(dirname($_SERVER['PHP_SELF']), strlen(PREFIX) + 1));
define("PAGE", basename($_SERVER['PHP_SELF'], '.php'));
define("DB_PATH", ROOT_PATH . "/db/niver.db"); // Niver's SQLite database
define("SUDO_PATH", "/usr/bin/sudo");
define("HT_PATH", "/srv/ht");
// Service-specific functions and constants
if (SERVICE !== "")

1
ht.php
View File

@ -7,7 +7,6 @@ define("IPV4_ADDRESS", "127.0.0.1");
define("HTTPS_PORT", "42443");
define("INTERNAL_ONION_HTTP_PORT", "9080");
define("HT_PATH", "/srv/ht");
define("MANIVER_PATH", "/usr/local/bin/maniver");
define("SYSTEMCTL_PATH", "/usr/bin/systemctl");
define("CERTBOT_PATH", "/usr/bin/certbot");