Skip to content
Snippets Groups Projects
Commit f5e6009d authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: bad path for external module

parent cc295b10
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
/**
* \file htdocs/theme/eldy/style.css.php
* \brief Fichier de style CSS du theme Cameleo
* \version $Id: style.css.php,v 1.6 2011/07/06 11:40:22 eldy Exp $
* \version $Id: style.css.php,v 1.7 2011/07/17 20:16:38 hregis Exp $
*/
//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
......@@ -487,7 +487,7 @@ foreach($mainmenuusedarray as $key => $val)
{
if (file_exists($dirroot."/".$val."/img/".$val.".png"))
{
$url=DOL_URL_ROOT.'/'.$val.'/img/'.$val.'.png';
$url=dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
$found=1;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment