fix for referer under etemplate

This commit is contained in:
Ralf Becker 2005-11-11 23:06:34 +00:00
parent 090dc5c1da
commit 3bae8c3a00

View File

@ -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;