From 0d7fccc7b30b00b241f85d5b1e28fdbbf19042e3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Jun 2021 16:33:53 +0200 Subject: [PATCH] Fix test --- test/other/test_serialize.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/other/test_serialize.php b/test/other/test_serialize.php index 2fdfffaef3e..74d1d40e025 100644 --- a/test/other/test_serialize.php +++ b/test/other/test_serialize.php @@ -3,7 +3,10 @@ $path = __DIR__ . '/'; + $res=@include_once $path.'/../htdocs/master.inc.php'; +$res=@include_once $path.'/../../htdocs/master.inc.php'; +if (! $res) @include_once '../../master.inc.php'; if (! $res) @include_once '../master.inc.php'; if (! $res) @include_once './master.inc.php'; include_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';