mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed link to home
This commit is contained in:
parent
a214e31652
commit
b22e3f34de
13
set_box.php
13
set_box.php
@ -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();
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user