/var/www/niver > /srv/php/niver

This commit is contained in:
Miraty 2022-04-20 00:35:33 +02:00
parent 9a2eb0a18e
commit dfda925f42
2 changed files with 1 additions and 1 deletions

View file

@ -19,7 +19,7 @@ define("DOMAIN_EXAMPLE", "example"); // From RFC2606: Reserved Top Level DNS Nam
// Custom Niver paths // Custom Niver paths
define("PREFIX", ""); // Prefix in URL, if any define("PREFIX", ""); // Prefix in URL, if any
define("ROOT_PATH", "/var/www/niver" . PREFIX); // Niver's directory define("ROOT_PATH", "/srv/php/niver" . PREFIX); // Niver's directory
define("SERVICE", substr(dirname($_SERVER['PHP_SELF']), strlen(PREFIX) + 1)); 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

0
public/css/.gitkeep Normal file → Executable file
View file