Fix SFTP directory creation
This commit is contained in:
parent
50c23f6245
commit
f773c2fe8e
|
@ -7,6 +7,7 @@ define("SERVICE", substr(dirname($_SERVER['PHP_SELF']), strlen(PREFIX) + 1));
|
||||||
define("PAGE", basename($_SERVER['PHP_SELF'], '.php'));
|
define("PAGE", basename($_SERVER['PHP_SELF'], '.php'));
|
||||||
define("DB_PATH", ROOT_PATH . "/db/niver.db"); // Niver's SQLite database
|
define("DB_PATH", ROOT_PATH . "/db/niver.db"); // Niver's SQLite database
|
||||||
define("SUDO_PATH", "/usr/bin/sudo");
|
define("SUDO_PATH", "/usr/bin/sudo");
|
||||||
|
define("HT_PATH", "/srv/ht");
|
||||||
|
|
||||||
// Service-specific functions and constants
|
// Service-specific functions and constants
|
||||||
if (SERVICE !== "")
|
if (SERVICE !== "")
|
||||||
|
|
1
ht.php
1
ht.php
|
@ -7,7 +7,6 @@ define("IPV4_ADDRESS", "127.0.0.1");
|
||||||
define("HTTPS_PORT", "42443");
|
define("HTTPS_PORT", "42443");
|
||||||
define("INTERNAL_ONION_HTTP_PORT", "9080");
|
define("INTERNAL_ONION_HTTP_PORT", "9080");
|
||||||
|
|
||||||
define("HT_PATH", "/srv/ht");
|
|
||||||
define("MANIVER_PATH", "/usr/local/bin/maniver");
|
define("MANIVER_PATH", "/usr/local/bin/maniver");
|
||||||
define("SYSTEMCTL_PATH", "/usr/bin/systemctl");
|
define("SYSTEMCTL_PATH", "/usr/bin/systemctl");
|
||||||
define("CERTBOT_PATH", "/usr/bin/certbot");
|
define("CERTBOT_PATH", "/usr/bin/certbot");
|
||||||
|
|
Loading…
Reference in New Issue