diff --git a/html/getkiosk.php b/html/getkiosk.php
index ba0ea77ee2f283ad87e16a06b62ea4e96f06a0c6..ef0c64aa81e59061b436c56f355c012a2b0ce224 100644 (file)
--- a/html/getkiosk.php
+++ b/html/getkiosk.php
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: