|
@@ -337,7 +337,9 @@ if (api_is_platform_admin()) {
|
|
|
|
|
|
$items[] = array('url' => 'archive_cleanup.php', 'label' => get_lang('ArchiveDirCleanup'));
|
|
|
$items[] = array('url' => 'resource_sequence.php', 'label' => get_lang('ResourcesSequencing'));
|
|
|
- $items[] = ['url' => 'email_tester.php', 'label' => get_lang('EMailTester')];
|
|
|
+ if (is_dir(api_get_path(SYS_TEST_PATH))) {
|
|
|
+ $items[] = ['url' => 'email_tester.php', 'label' => get_lang('EMailTester')];
|
|
|
+ }
|
|
|
|
|
|
if (api_get_configuration_value('db_manager_enabled') == true && api_is_global_platform_admin()) {
|
|
|
$host = $_configuration['db_host'];
|