From 567b4565f9aa2c67cb99a8d6fc72f2e8d79452ee Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 19 Sep 2011 22:36:38 +0000 Subject: [PATCH] Fix: avoid phpunit error --- htdocs/filefunc.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index df1c52a7722..0aefa65904f 100755 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -29,8 +29,8 @@ * \brief File that include conf.php file and commons lib like functions.lib.php */ -define('DOL_VERSION','3.2.0-alpha'); // Also defined in htdocs/install/inc.php (Ex: x.y.z-alpha, x.y.z) -define('EURO',chr(128)); +if (! defined('DOL_VERSION')) define('DOL_VERSION','3.2.0-alpha'); // Also defined in htdocs/install/inc.php (Ex: x.y.z-alpha, x.y.z) +if (! defined('EURO')) define('EURO',chr(128)); // Definition des constantes syslog if (function_exists("define_syslog_variables"))