Change. Use path with domain name for faxes for single tenant installation.

This commit is contained in:
Alexey Melnichuk
2015-12-04 12:57:30 +03:00
parent 7c77e1cacd
commit c543c42ffa
5 changed files with 5 additions and 15 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ else {
}
//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'];
//download the fax
if ($_GET['a'] == "download") {