pass httproot to view

This commit is contained in:
Uwe Steinmann 2013-05-03 09:52:59 +02:00
parent e020f212b0
commit c2c8ea38bf

View File

@ -28,7 +28,7 @@ if (!$user->isAdmin()) {
}
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'httproot'=>$settings->_httpRoot));
if($view) {
$view->show();
exit;