mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fix for referer under etemplate
This commit is contained in:
parent
090dc5c1da
commit
3bae8c3a00
@ -2097,7 +2097,7 @@
|
||||
|
||||
$parts = explode($GLOBALS['egw_info']['server']['webserver_url'],$referer);
|
||||
|
||||
$referer = array_pop($parts);
|
||||
$referer = str_replace('/etemplate/process_exec.php','/index.php',array_pop($parts));
|
||||
|
||||
if (empty($referer)) $referer = $default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user