mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
redirect to url passed in refferer
This commit is contained in:
parent
a6972545fd
commit
6b150e831a
|
@ -41,6 +41,12 @@ $session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_added_t
|
||||||
|
|
||||||
/* FIXME: this does not work because the folder id is not passed */
|
/* FIXME: this does not work because the folder id is not passed */
|
||||||
$folderid = $_GET['folderid'];
|
$folderid = $_GET['folderid'];
|
||||||
header("Location:../out/out.ViewFolder.php?folderid=".$folderid);
|
|
||||||
|
if($_GET['refferer'])
|
||||||
|
header("Location:".urldecode($_GET['refferer']));
|
||||||
|
else {
|
||||||
|
$folderid = $_GET['folderid'];
|
||||||
|
header("Location:../out/out.ViewFolder.php?folderid=".$folderid);
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user