projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing ;
[platal.git]
/
htdocs
/
auth-redirect.php
diff --git
a/htdocs/auth-redirect.php
b/htdocs/auth-redirect.php
index
715606c
..
71f4b6d
100644
(file)
--- a/
htdocs/auth-redirect.php
+++ b/
htdocs/auth-redirect.php
@@
-22,9
+22,5
@@
require_once("xorg.inc.php");
new_skinned_page('index.tpl',AUTH_COOKIE);
require_once("xorg.inc.php");
new_skinned_page('index.tpl',AUTH_COOKIE);
-//adresse de redirection par defaut
-if (isset($_REQUEST['dest'])) $redirect=$_REQUEST['dest'];
-else $redirect="/";
-
-header("Location: ".$redirect);
+redirect(Env::get('dest', '/'));
?>
?>