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 -6
View File
@@ -53,12 +53,7 @@ else {
}
//set the fax directory
if (count($_SESSION["domains"]) > 1) {
$fax_dir = $_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'];
}
else {
$fax_dir = $_SESSION['switch']['storage']['dir'].'/fax';
}
$fax_dir = $_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'];
//get the fax extension
if (strlen($fax_extension) > 0) {