aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch_dev/v_fax_edit.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-08-09 02:12:29 -0600
committermcrane <mctch@yahoo.com>2009-08-09 02:13:29 -0600
commit44f44e817107347cb73bc74a92c60e1a6fc63014 (patch)
treeee0e5e45769516e5e679e192880d8bd551df0817 /config/freeswitch_dev/v_fax_edit.tmp
parentd7d26e97b3928fb7e98cbf44dcbf4ef3523dbd19 (diff)
downloadpfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.gz
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.tar.bz2
pfsense-packages-44f44e817107347cb73bc74a92c60e1a6fc63014.zip
FreeSWITCH dev package replace the rest of the hard coded paths, update wording, fix labels on a few pages, fix wav and mp3 download and play tools.
Diffstat (limited to 'config/freeswitch_dev/v_fax_edit.tmp')
-rw-r--r--config/freeswitch_dev/v_fax_edit.tmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/freeswitch_dev/v_fax_edit.tmp b/config/freeswitch_dev/v_fax_edit.tmp
index 76a0449d..1548f3fb 100644
--- a/config/freeswitch_dev/v_fax_edit.tmp
+++ b/config/freeswitch_dev/v_fax_edit.tmp
@@ -152,8 +152,8 @@ if (($_POST['type'] == "fax_send") && is_uploaded_file($_FILES['fax_file']['tmp_
//exec("rm ".$dir_fax_temp.$fax_name.".tif");
//convert the tif to pdf and png
- exec("cd $dir_fax_sent; /usr/local/bin/tiff2png ".$dir_fax_sent.$fax_name.".tif");
- exec("cd $dir_fax_sent; /usr/local/bin/tiff2pdf -f -o ".$fax_name.".pdf ".$dir_fax_sent.$fax_name.".tif");
+ exec("cd $dir_fax_sent; ".bin_dir."/tiff2png ".$dir_fax_sent.$fax_name.".tif");
+ exec("cd $dir_fax_sent; ".bin_dir."/tiff2pdf -f -o ".$fax_name.".pdf ".$dir_fax_sent.$fax_name.".tif");
header("Location: v_fax_edit.php?id=".$id."&msg=".$response);
exit;