aboutsummaryrefslogtreecommitdiffstats
path: root/config/postfix/postfix_view_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/postfix/postfix_view_config.php')
-rw-r--r--config/postfix/postfix_view_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/postfix/postfix_view_config.php b/config/postfix/postfix_view_config.php
index c3efda53..24bfd575 100644
--- a/config/postfix/postfix_view_config.php
+++ b/config/postfix/postfix_view_config.php
@@ -57,7 +57,7 @@ if ($_REQUEST['file']!=""){
}
else{
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
- if(strstr($pfSversion, "1.2"))
+ if ($pf_version < 2.0)
$one_two = true;
$pgtitle = "Services: Postfix View Configuration";