invoke $view and pass $_GET

This commit is contained in:
Uwe Steinmann 2015-12-11 20:20:36 +01:00
parent aefa0c120e
commit d76cc6d3d4
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ $folder = $dms->getFolder($folderid);
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'form'=>$form));
if($view) {
$view->show();
$view($_GET);
exit;
}

View File

@ -65,7 +65,7 @@ if($view) {
$view->setParam('enableRecursiveCount', $settings->_enableRecursiveCount);
$view->setParam('maxRecursiveCount', $settings->_maxRecursiveCount);
$view->setParam('previewWidthList', $settings->_previewWidthList);
$view->show();
$view($_GET);
exit;
}