mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
remove formtoken from link to javascript files
This commit is contained in:
parent
8447c87ab0
commit
d1ee800423
|
@ -152,6 +152,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo '<script src="../styles/'.$this->theme.'/select2/js/select2.min.js"></script>'."\n";
|
||||
parse_str($_SERVER['QUERY_STRING'], $tmp);
|
||||
$tmp['action'] = 'webrootjs';
|
||||
if(isset($tmp['formtoken']))
|
||||
unset($tmp['formtoken']);
|
||||
echo '<script src="'.$this->params['absbaseprefix'].'out/out.'.$this->params['class'].'.php?'.http_build_query($tmp).'"></script>'."\n";
|
||||
echo '<script src="../styles/'.$this->theme.'/application.js"></script>'."\n";
|
||||
if($this->params['enablemenutasks'] && isset($this->params['user']) && $this->params['user']) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user