diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 6b37d6ffc9a..d2aa7857691 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -376,14 +376,7 @@ if ($mode != 4) { if (preg_match('/^([^@]+)@([^@]+)$/i',$urlpage,$regs)) { - if (! DOL_URL_ROOT_ALT || file_exists(DOL_URL_ROOT.'/'.$regs[2].'/admin/'.$regs[1])) - { - print ''.img_picto($langs->trans("Setup"),"setup").' '; - } - else - { - print ''.img_picto($langs->trans("Setup"),"setup").' '; - } + print ''.img_picto($langs->trans("Setup"),"setup").' '; } else { @@ -395,14 +388,7 @@ if ($mode != 4) } else if (preg_match('/^([^@]+)@([^@]+)$/i',$objMod->config_page_url,$regs)) { - if (! DOL_URL_ROOT_ALT || file_exists(DOL_URL_ROOT.'/'.$regs[2].'/admin/'.$regs[1])) - { - print ''.img_picto($langs->trans("Setup"),"setup").''; - } - else - { - print ''.img_picto($langs->trans("Setup"),"setup").''; - } + print ''.img_picto($langs->trans("Setup"),"setup").''; } else {