From b22e3f34de9b371dd65de1ea26cad9a2796e5671 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 14 Jul 2005 13:44:03 +0000 Subject: [PATCH] fixed link to home --- set_box.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/set_box.php b/set_box.php index 41dffc992d..6aab59d324 100755 --- a/set_box.php +++ b/set_box.php @@ -19,17 +19,7 @@ ); include('header.inc.php'); -// if(basename($HTTP_REFERER) != 'home.php') -// { -// Header('Location: '.$GLOBALS['egw']->link('/home.php')); -// $GLOBALS['egw']->common->phpgw_exit(); -// } - @reset($GLOBALS['egw_info']['user']['preferences']); - //_debug_array($GLOBALS['egw_info']['user']['preferences']['portal_order']); -// $GLOBALS['egw']->preferences->delete('portal_order'); -// unset($GLOBALS['egw_info']['user']['preferences']['portal_order']); -// $GLOBALS['egw']->preferences->save_repository(); function move_boxes($curr_position,$new_order,$offset,$value_to_check,$max_num) { @@ -106,6 +96,5 @@ default: } - header('Location: '.$GLOBALS['egw']->link('/home.php')); - $GLOBALS['egw']->common->phpgw_exit(); + $GLOBALS['egw']->redirect_link('/home/index.php'); ?>