From 00784ffce5004570ec455a6361ece6f0bfae9c7a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 6 Sep 2012 09:48:25 +0200 Subject: [PATCH] Fir: go to hell --- htdocs/holiday/common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/holiday/common.inc.php b/htdocs/holiday/common.inc.php index 93735fe0761..d321d6d386e 100644 --- a/htdocs/holiday/common.inc.php +++ b/htdocs/holiday/common.inc.php @@ -23,7 +23,7 @@ * \brief Common load of data */ -require dirname(__FILE__).'/../main.inc.php'; +require_once realpath(dirname(__FILE__)) . '/../main.inc.php'; if (! class_exists('Holiday')) { require DOL_DOCUMENT_ROOT. '/holiday/class/holiday.class.php'; }