diff --git a/etemplate/index.php b/etemplate/index.php index c9b2c24f47..45229163fd 100644 --- a/etemplate/index.php +++ b/etemplate/index.php @@ -19,7 +19,4 @@ ); include('../header.inc.php'); - header('Location: '.$GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.edit')); - $GLOBALS['phpgw_info']['flags']['nodisplay'] = True; - exit; -?> + $GLOBALS['phpgw']->redirect_link('/index.php','menuaction=etemplate.editor.edit');