From 08321aaabc83811a6c49473a144b0ee6c1eb26c6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 7 Aug 2011 13:10:26 +0000 Subject: [PATCH] Work on rpm package --- htdocs/support/inc.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/htdocs/support/inc.php b/htdocs/support/inc.php index 330d77ee107..337c7cb178e 100644 --- a/htdocs/support/inc.php +++ b/htdocs/support/inc.php @@ -21,7 +21,7 @@ /** * \file htdocs/support/inc.php * \brief File that define environment for support pages - * \version $Id: inc.php,v 1.31 2011/07/31 23:22:33 eldy Exp $ + * \version $Id: inc.php,v 1.32 2011/08/07 13:10:26 eldy Exp $ */ define('DOL_VERSION','2.5-dev'); // Also defined in htdocs/master.inc.php @@ -63,7 +63,16 @@ else $includeconferror=''; + +# Define vars +$conffiletoshowshort = "conf.php"; +# Define localization of conf file $conffile = "../conf/conf.php"; +$conffiletoshow = "htdocs/conf/conf.php"; +# For debian/redhat like systems +#$conffile = "/etc/dolibarr/conf.php"; +#$conffiletoshow = "/etc/dolibarr/conf.php"; + $charset="UTF-8"; // If not output format found in any conf file if (! defined('DONOTLOADCONF') && file_exists($conffile)) {