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:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user