mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Removed warning
This commit is contained in:
parent
e40d8991b1
commit
d019f732b8
|
|
@ -137,7 +137,7 @@ foreach($paths as $tmppath)
|
|||
{
|
||||
if ($tmppath) $concatpath.='/'.$tmppath;
|
||||
//print $real_$dolibarr_main_document_root.'-'.realpath($pathroot.$concatpath).'<br>';
|
||||
if ($real_dolibarr_main_document_root == realpath($pathroot.$concatpath))
|
||||
if ($real_dolibarr_main_document_root == @realpath($pathroot.$concatpath)) // @ avoid warning when safe_mode is on.
|
||||
{
|
||||
$tmp3=$concatpath;
|
||||
//print "Found relative url = ".$tmp3;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user