Fix to disable unsupported pages for now in Dovecot 2.4

This commit is contained in:
Ilia Ross
2025-08-31 22:36:15 +03:00
parent 671c62289d
commit c2c99e3305

View File

@@ -33,6 +33,8 @@ if (!&get_config_file()) {
# Show icons for option categories
@pages = ( "net", "login", "mail", "ssl", "manual" );
@pages = grep { $_ ne 'login' && $_ ne 'mail' } @pages
if (&version_atleast("2.4"));
@titles = map { $text{$_."_title"} } @pages;
@icons = map { "images/".$_.".gif" } @pages;
@links = map { "edit_".$_.".cgi" } @pages;