diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php
index f9c90725a68..9727a3a2355 100755
--- a/htdocs/filefunc.inc.php
+++ b/htdocs/filefunc.inc.php
@@ -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).'
';
+ //print $real_dolibarr_main_document_root.'-'.realpath($_SERVER["DOCUMENT_ROOT"].$concatpath).'
';
if ($real_dolibarr_main_document_root == realpath($_SERVER["DOCUMENT_ROOT"].$concatpath))
{
$tmp3=$concatpath;