1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 20_configpath.dpatch by Wolfgang Barth <wob@swobspace.net>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
7 @DPATCH@
8 diff -urNad trunk~/nagvis/includes/defines/global.php trunk/nagvis/includes/defines/global.php
9 --- trunk~/nagvis/includes/defines/global.php 2009-11-27 16:41:36.000000000 +0100
10 +++ trunk/nagvis/includes/defines/global.php 2009-11-27 18:38:59.000000000 +0100
11 @@ -61,13 +61,13 @@
12 define('DEBUGLEVEL', 4);
14 // Path to the debug file
15 -define('DEBUGFILE', '../var/nagvis-debug.log');
16 +define('DEBUGFILE', '/var/log/nagvis-debug.log');
18 // NagVis Version
19 define('CONST_VERSION', '1.4.5');
21 // Path to the main configuration file
22 -define('CONST_MAINCFG', '../etc/nagvis.ini.php');
23 +define('CONST_MAINCFG', '/etc/nagvis/nagvis.ini.php');
25 // Needed minimal PHP version
26 define('CONST_NEEDED_PHP_VERSION', '5.0');