mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
set proper link to footer js
This commit is contained in:
parent
cd745eb518
commit
35e9dbb0fb
|
@ -146,7 +146,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
if(is_dir($this->params['cachedir'].'/js')) {
|
||||
file_put_contents($this->params['cachedir'].'/js/'.$hashjs.'.js', $jscode);
|
||||
}
|
||||
echo '<script src="../out/out.'.$this->params['class'].'.php?action=footerjs&hash='.$hashjs.'"></script>'."\n";
|
||||
parse_str($_SERVER['QUERY_STRING'], $tmp);
|
||||
$tmp['action'] = 'footerjs';
|
||||
$tmp['hash'] = $hashjs;
|
||||
echo '<script src="../out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
}
|
||||
if(method_exists($this, 'js')) {
|
||||
parse_str($_SERVER['QUERY_STRING'], $tmp);
|
||||
|
|
Loading…
Reference in New Issue
Block a user