fixed link to home

This commit is contained in:
Ralf Becker 2005-07-14 13:44:03 +00:00
parent a214e31652
commit b22e3f34de

View File

@ -19,17 +19,7 @@
); );
include('header.inc.php'); 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']); @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) function move_boxes($curr_position,$new_order,$offset,$value_to_check,$max_num)
{ {
@ -106,6 +96,5 @@
default: default:
} }
header('Location: '.$GLOBALS['egw']->link('/home.php')); $GLOBALS['egw']->redirect_link('/home/index.php');
$GLOBALS['egw']->common->phpgw_exit();
?> ?>