tbrehm
2009-03-23 0cef61a3fd0c988cf46f5e45f7e06ab4e1a720d6
interface/web/capp.php
@@ -35,7 +35,10 @@
$mod = $_REQUEST["mod"];
// Checke ob User eingeloggt
if(!is_array($_SESSION["s"]["user"])) header("Location: index.php?phpsessid=".$_SESSION["s"]["id"]);
if($_SESSION["s"]["user"]['active'] != 1) {
   header("Location: index.php?phpsessid=".$_SESSION["s"]["id"]);
   die();
}
// checke ob User Modul verwenden darf
$user_modules = explode(",",$_SESSION["s"]["user"]["modules"]);