Merge pull request #1280 from moteus/fax_path_domain_name

Change. Use path with domain name for faxes for single tenant installation.
This commit is contained in:
FusionPBX
2015-12-04 11:44:33 -07:00
5 changed files with 5 additions and 15 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ if (!$included) {
}
//set the fax directory
$fax_dir = $_SESSION['switch']['storage']['dir'].'/fax'.((count($_SESSION["domains"]) > 1) ? '/'.$_SESSION['domain_name'] : null);
$fax_dir = $_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'];
// set fax cover font to generate pdf
$fax_cover_font = $_SESSION['fax']['cover_font']['text'];