LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File zabbix-1.8.3-config-1.patch of Package zabbix (Project home:L2G:F)

diff -ru zabbix-1.8.3.orig/frontends/php/include/config.inc.php zabbix-1.8.3/frontends/php/include/config.inc.php
--- zabbix-1.8.3.orig/frontends/php/include/config.inc.php	2010-08-16 01:19:33.000000000 -0700
+++ zabbix-1.8.3/frontends/php/include/config.inc.php	2010-09-07 17:57:20.070342224 -0700
@@ -113,8 +113,7 @@
 	$ZBX_LOCALNODEID = 0;
 	$ZBX_LOCMASTERID = 0;
 
-	$ZBX_CONFIGURATION_FILE = './conf/zabbix.conf.php';
-	$ZBX_CONFIGURATION_FILE = realpath(dirname($ZBX_CONFIGURATION_FILE)).'/'.basename($ZBX_CONFIGURATION_FILE);
+	$ZBX_CONFIGURATION_FILE = '/etc/zabbix/web/zabbix.conf.php';
 
 // Include Tactical Overview modules
 	require_once('include/locales.inc.php');