Fix: bad test
This commit is contained in:
parent
a45d02ebfc
commit
b03b1923ed
@ -134,7 +134,7 @@ if (1 == 1) // Use auto forge url.
|
|||||||
foreach($paths as $path)
|
foreach($paths as $path)
|
||||||
{
|
{
|
||||||
if ($path) $concatpath.='/'.$path;
|
if ($path) $concatpath.='/'.$path;
|
||||||
//print $real_$dolibarr_main_document_root.'-'.realpath($_SERVER["DOCUMENT_ROOT"].$concatpath).'<br>';
|
//print $real_dolibarr_main_document_root.'-'.realpath($_SERVER["DOCUMENT_ROOT"].$concatpath).'<br>';
|
||||||
if ($real_dolibarr_main_document_root == realpath($_SERVER["DOCUMENT_ROOT"].$concatpath))
|
if ($real_dolibarr_main_document_root == realpath($_SERVER["DOCUMENT_ROOT"].$concatpath))
|
||||||
{
|
{
|
||||||
$tmp3=$concatpath;
|
$tmp3=$concatpath;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user