Fix: bad test

This commit is contained in:
Regis Houssin 2011-02-25 09:10:20 +00:00
parent a45d02ebfc
commit b03b1923ed

View File

@ -134,7 +134,7 @@ if (1 == 1) // Use auto forge url.
foreach($paths as $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))
{
$tmp3=$concatpath;