adding Mac ports location of tnef

This commit is contained in:
Ralf Becker 2012-03-11 09:39:19 +00:00
parent 43092fea2e
commit 6c4a1e0b72

View File

@ -691,6 +691,12 @@ function tnef_check($name,$args)
$available = true; $available = true;
$tnef[] = '/usr/bin/tnef'; $tnef[] = '/usr/bin/tnef';
} }
// Mac ports location
elseif (file_exists('/opt/local/bin/tnef'))
{
$available = true;
$tnef[] = '/opt/local/bin/tnef';
}
elseif (exec("which tnef", $tnef)) elseif (exec("which tnef", $tnef))
{ {
$available = true; $available = true;