Fix Dialplan Destination so that it won't fail if fax app is not installed.

This commit is contained in:
Mark Crane 2014-12-17 11:33:31 +00:00
parent 79ca28c0f4
commit 39fae5ee50
1 changed files with 27 additions and 25 deletions

View File

@ -637,6 +637,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/fax/app_config.php")){
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-fax_uuid'].":\n";
@ -664,6 +665,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['description-fax_uuid']."\n";
echo "</td>\n";
echo "</tr>\n";
}
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";