Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2021-06-08 07:09:04 +02:00
commit 047b5bb3b0

View File

@ -141,12 +141,12 @@ elseif (isset($_GET["logname"])) { /* {{{ */
UI::exitError(getMLText("admin_tools"),getMLText("unknown_id"));
}
if (!file_exists($settings->_contentDir.$filename) ) {
if (!file_exists($settings->_contentDir.'log/'.$filename) ) {
UI::exitError(getMLText("admin_tools"),getMLText("missing_file"));
}
$controller->setParam('file', $filename);
$controller->setParam('basedir', $settings->_contentDir);
$controller->setParam('basedir', $settings->_contentDir . 'log/');
$controller->log();
} /* }}} */