get_module_departments("server/goKioskService"); $found = FALSE; foreach($tmp as $dir){ if(preg_match("/r/",$ui->get_permissions($dir,"server/goKioskService"))){ $found = TRUE; break; } } if(!$found){ header ("Location: index.php"); exit; } $dir= $config->search('environment', 'kioskpath', array('tabs','menu')); getkiosk($dir."/".$_GET['id']); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>