mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +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);
|
$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;
|
if (empty($referer)) $referer = $default;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user