latham
2011-04-08 532ae591db5b5f020abf60609ded0d2d32b76d86
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"]);