X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=html%2Fgetkiosk.php;h=ef0c64aa81e59061b436c56f355c012a2b0ce224;hb=648eb5a4ac1728572ee349e3e58243fddf51fa1f;hp=cde88c5a063e006b555318ccace6625a294a5777;hpb=d8a55d76008032b00c862dd802f77f26a64cb1d7;p=gosa.git diff --git a/html/getkiosk.php b/html/getkiosk.php index cde88c5a0..ef0c64aa8 100644 --- a/html/getkiosk.php +++ b/html/getkiosk.php @@ -49,7 +49,7 @@ function getkiosk ($id) /* Basic setup, remove eventually registered sessions */ @require_once ("../include/php_setup.inc"); @require_once ("functions.inc"); -error_reporting (E_ALL); +error_reporting (E_ALL | E_STRICT); session_start (); /* Logged in? Simple security check */ @@ -69,7 +69,7 @@ if(!preg_match("/r/",$acl)){ header ("Location: index.php"); exit; } -$dir = search_config($config->data,"environment", "KIOSKPATH"); +$dir= $config->search('environment', 'kioskpath', array('main','tabs')); getkiosk($dir."/".$_GET['id']); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: