1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Issue #5443 Increase the number of admin URLs in Acceptance test.

This commit is contained in:
camer0n
2025-03-31 10:49:43 -07:00
parent 5047731c9b
commit b165b95b94
2 changed files with 108 additions and 31 deletions

View File

@@ -200,6 +200,12 @@ class fileinspector_ui extends e_admin_ui
{
/** @var file_inspector */
$fi =e107::getSingleton('file_inspector');
if (!$fi instanceof file_inspector)
{
return 'Fatal error: Unable to instantiate file_inspector.';
}
return $fi->scan_config();
}
@@ -1332,6 +1338,11 @@ function e_help()
// $fi = new file_inspector;
$fi = e107::getSingleton('file_inspector');
if (!$fi instanceof file_inspector)
{
return ['caption' => FC_LAN_37, 'text' => 'Fatal error: Unable to instantiate file_inspector.']; // DO NOT TRANSLATE
}
$list = $fi->getLegend();
$text = '';