mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
include js in footer with absolute path
This commit is contained in:
parent
a711a9e6ee
commit
92a483ac8b
|
@ -149,12 +149,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
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";
|
||||
echo '<script src="'.$this->params['absbaseprefix'].'out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
}
|
||||
if(method_exists($this, 'js')) {
|
||||
parse_str($_SERVER['QUERY_STRING'], $tmp);
|
||||
$tmp['action'] = 'js';
|
||||
echo '<script src="../out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
echo '<script src="'.$this->params['absbaseprefix'].'out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
}
|
||||
echo "</body>\n</html>\n";
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user