diff --git a/wawi/index.php b/wawi/index.php index f928692af..5b0ea30b7 100644 --- a/wawi/index.php +++ b/wawi/index.php @@ -25,6 +25,21 @@ require_once('auth.php'); $menu = isset($_GET['menu'])?$_GET['menu']:'menu.php'; $content = isset($_GET['content'])?$_GET['content']:'home.php'; +//Vorhandene Parameter an Content dazuhaengen +$first=true; +foreach($_GET as $name=>$param) +{ + if($name!='menu' && $name!='content') + { + if($first) + { + $content.="?$name=$param"; + $first=false; + } + else + $content.="&$name=$param"; + } +} echo '