Code

Completly redo packaging and prepare new upstream version
[pkg-nagvis.git] / debian / patches / config.patch
1 --- a/share/server/core/defines/global.php
2 +++ b/share/server/core/defines/global.php
3 @@ -78,11 +78,11 @@ define('DEBUGFILE', '../../../var/nagvis
4  // The last value wins.
5  //
6  // Path to the main configuration file
7 -define('CONST_MAINCFG', '../../../etc/nagvis.ini.php');
8 -define('CONST_MAINCFG_CACHE', '../../../var/nagvis-conf');
9 +define('CONST_MAINCFG', '/etc/nagvis/nagvis.ini.php');
10 +define('CONST_MAINCFG_CACHE', '/var/cache/nagvis/nagvis-conf');
11  
12  // Path to the main configuration conf.d directory
13 -define('CONST_MAINCFG_DIR', '../../../etc/conf.d');
14 +define('CONST_MAINCFG_DIR', '/etc/nagvis/conf.d');
15  
16  // The directory below the NagVis root which is shared by the webserver
17  define('HTDOCS_DIR', 'share');