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:
parent
4219034bf5
commit
506a829202
|
|
@ -210,8 +210,12 @@ if (sizeof($result) != 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//send fax
|
//send fax
|
||||||
|
$cwd = getcwd();
|
||||||
$included = true;
|
$included = true;
|
||||||
require("fax_send.php");
|
require("fax_send.php");
|
||||||
|
if($cwd){
|
||||||
|
chdir($cwd);
|
||||||
|
}
|
||||||
|
|
||||||
//reset variables
|
//reset variables
|
||||||
unset($fax_numbers);
|
unset($fax_numbers);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue