From faabec4edcb25dda5ff48795fc2660dbdda99f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 23 Feb 2021 20:25:33 +0100 Subject: [PATCH] code syntax comm directory --- htdocs/filefunc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index afafa8b8268..9fbdcc88eab 100644 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -244,7 +244,7 @@ foreach ($paths as $tmppath) { // We check to find (B+start of C)=A //if ($tmppath) $concatpath.='/'.$tmppath; //print $_SERVER["SCRIPT_NAME"].'-'.$pathroot.'-'.$concatpath.'-'.$real_dolibarr_main_document_root.'-'.realpath($pathroot.$concatpath).'
'; if ($real_dolibarr_main_document_root == @realpath($pathroot.$concatpath)) { // @ avoid warning when safe_mode is on. - //print "Found relative url = ".$concatpath; + //print "Found relative url = ".$concatpath; $tmp3 = $concatpath; $found = 1; break;