Merge branch 'ent-11879-error-acl-cuando-no-existe-disco-nuevo-discovery' into 'develop'

Ent 11879 error acl cuando no existe disco nuevo discovery

See merge request artica/pandorafms!6369
This commit is contained in:
Gorka Sanchez 2023-08-31 06:38:21 +00:00
commit 79857d6b71
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'); ui_require_javascript_file('extensions_discovery');
$_iniFile = $this->loadIni(); $_iniFile = $this->loadIni();
if ($_iniFile === false) { if ($_iniFile === false) {
include 'general/noaccess.php'; // No file .disco.
ui_print_info_message(['no_close' => true, 'message' => __('No .disco file found') ]);
return false; return false;
} }