precache webgui config files
This commit is contained in:
parent
6bc2c33954
commit
c39e7dc7b0
7 changed files with 196 additions and 34 deletions
|
|
@ -148,7 +148,7 @@ Name value pairs to add to the URL in the form of:
|
|||
=cut
|
||||
|
||||
sub gateway {
|
||||
my $url = _getSiteURL().$session{config}{scripturl}.'/'.$_[0];
|
||||
my $url = _getSiteURL().($session{config}{scripturl} || $session{env}{SCRIPT_NAME}).'/'.$_[0];
|
||||
if ($_[1]) {
|
||||
$url = append($url,$_[1]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue