mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-30 21:47:30 +00:00
stream_select may pass only variables by reference
This commit is contained in:
parent
58e6f10a93
commit
ecdbc03d6a
|
@ -75,7 +75,9 @@ class SeedDMS_Preview_Previewer {
|
|||
do {
|
||||
$timeleft = $timeout - time();
|
||||
$read = array($pipes[1]);
|
||||
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
|
||||
$write = NULL;
|
||||
$exeptions = NULL;
|
||||
stream_select($read, $write, $exeptions, $timeleft, 200000);
|
||||
|
||||
if (!empty($read)) {
|
||||
$output .= fread($pipes[1], 8192);
|
||||
|
|
Loading…
Reference in New Issue
Block a user