#11879 error control is added .disco file is missing

This commit is contained in:
Jorge Rincon 2023-08-29 10:27:35 +02:00
parent ff37a940da
commit 601e533a3a
1 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,8 @@ class ExtensionsDiscovery extends Wizard
ui_require_javascript_file('extensions_discovery');
$_iniFile = $this->loadIni();
if ($_iniFile === false) {
include 'general/noaccess.php';
// No file .disco.
ui_print_info_message(['no_close' => true, 'message' => __('No .disco file found') ]);
return false;
}