Fix: use full path in module
This commit is contained in:
parent
e349fd073a
commit
026bb66ddd
@ -293,11 +293,6 @@ if (GETPOST("action") == 'refreshmanual')
|
||||
/*******************************************************************
|
||||
* View
|
||||
********************************************************************/
|
||||
/*
|
||||
$morejs=array(
|
||||
"/includes/jquery/plugins/layout/jquery.layout-latest.js"
|
||||
);
|
||||
*/
|
||||
|
||||
//print "xx".$_SESSION["dol_screenheight"];
|
||||
$maxheightwin=(isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 500)?($_SESSION["dol_screenheight"]-166):660;
|
||||
|
||||
@ -894,7 +894,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
foreach($arrayofjs as $jsfile)
|
||||
{
|
||||
if (! preg_match('/^\//',$jsfile)) $jsfile='/'.$jsfile; // For backward compatibility
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.$jsfile.'"></script>'."\n";
|
||||
print '<script type="text/javascript" src="'.$jsfile.'"></script>'."\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user