/var/www/niver > /srv/php/niver
This commit is contained in:
parent
9a2eb0a18e
commit
dfda925f42
2 changed files with 1 additions and 1 deletions
|
@ -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
0
public/css/.gitkeep
Normal file → Executable file
Loading…
Reference in a new issue