Fix: root must not be into url in add_menu

This commit is contained in:
Laurent Destailleur 2011-06-08 22:31:35 +00:00
parent 311339b0ca
commit 20f6615cbe

View File

@ -45,7 +45,7 @@ function llxHeader($head = '', $title='', $help_url='', $morehtml='')
//print $paramkey;
if (! empty($conf->global->$paramkey))
{
$link=DOL_URL_ROOT."/ftp/index.php?idmenu=".$_SESSION["idmenu"]."&numero_ftp=".$i;
$link="/ftp/index.php?idmenu=".$_SESSION["idmenu"]."&numero_ftp=".$i;
$menu->add($link, dol_trunc($conf->global->$paramkey,24));
}