Remove count($_SESSION["domains"]) > 1 from the as the domain name should always be part of the fax directory path.
This commit is contained in:
parent
cbc2c81348
commit
532e01b5c0
|
|
@ -931,7 +931,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "</table>";
|
||||
echo "<br>";
|
||||
echo "</div>\n";
|
||||
|
||||
}
|
||||
|
||||
echo "</form>";
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){
|
|||
mkdir($_SESSION['switch']['storage']['dir'].'/fax');
|
||||
chmod($_SESSION['switch']['storage']['dir'].'/fax',0774);
|
||||
}
|
||||
if (count($_SESSION["domains"]) > 1 && !is_dir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'])) {
|
||||
if (!is_dir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'])) {
|
||||
mkdir($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name']);
|
||||
chmod($_SESSION['switch']['storage']['dir'].'/fax/'.$_SESSION['domain_name'],0774);
|
||||
}
|
||||
|
|
@ -238,7 +238,6 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){
|
|||
//clear file status cache
|
||||
clearstatcache();
|
||||
|
||||
|
||||
//send the fax
|
||||
$continue = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue