Fix: phpunit error again ! pfff

This commit is contained in:
Regis Houssin 2012-09-06 09:17:01 +02:00
parent c9ea50c51f
commit 7bd18ba840

View File

@ -24,7 +24,9 @@
*/
require dirname(__FILE__).'/../main.inc.php';
require DOL_DOCUMENT_ROOT. '/holiday/class/holiday.class.php';
if (! class_exists('Holiday')) {
require DOL_DOCUMENT_ROOT. '/holiday/class/holiday.class.php';
}
$langs->load("user");
$langs->load("other");