diff --git a/html/getkiosk.php b/html/getkiosk.php
index cde88c5a063e006b555318ccace6625a294a5777..ef0c64aa81e59061b436c56f355c012a2b0ce224 100644 (file)
--- a/html/getkiosk.php
+++ b/html/getkiosk.php
/* Basic setup, remove eventually registered sessions */
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
/* 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 */
session_start ();
/* Logged in? Simple security check */
header ("Location: index.php");
exit;
}
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:
getkiosk($dir."/".$_GET['id']);
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: