Fix. Poll several mail at once.

Problem causes by fax_send.php which change current dir and second call can not finding libraries.
This commit is contained in:
Alexey Melnichuk
2015-11-20 15:22:09 +03:00
parent 4219034bf5
commit 506a829202

View File

@@ -210,8 +210,12 @@ if (sizeof($result) != 0) {
}
//send fax
$cwd = getcwd();
$included = true;
require("fax_send.php");
if($cwd){
chdir($cwd);
}
//reset variables
unset($fax_numbers);