diff options
Diffstat (limited to 'config/postfix/postfix.inc')
-rwxr-xr-x | config/postfix/postfix.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index eb5499aa..e2b5c7df 100755 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -36,7 +36,7 @@ require_once("pkg-utils.inc"); require_once("globals.inc"); $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); -if (is_dir('/usr/pbi/postfix-' . php_uname("m"))) { +if ($pfs_version == "2.1" || $pfs_version == "2.2") { define('POSTFIX_LOCALBASE', '/usr/pbi/postfix-' . php_uname("m")); } else { define('POSTFIX_LOCALBASE','/usr/local'); |