forked from hans/Nominatim
address phpcs issue (strange it didn't appear in earlier runs)
This commit is contained in:
@@ -200,9 +200,10 @@ function runSQLScript($sScript, $bfatal = true, $bVerbose = false, $bIgnoreError
|
|||||||
|
|
||||||
function runWithEnv($sCmd, $aEnv)
|
function runWithEnv($sCmd, $aEnv)
|
||||||
{
|
{
|
||||||
$aFDs = array(0 => array('pipe', 'r'),
|
$aFDs = array(
|
||||||
1 => STDOUT,
|
0 => array('pipe', 'r'),
|
||||||
2 => STDERR);
|
1 => STDOUT,
|
||||||
|
2 => STDERR);
|
||||||
$aPipes = null;
|
$aPipes = null;
|
||||||
$hProc = @proc_open($sCmd, $aFDs, $aPipes, null, $aEnv);
|
$hProc = @proc_open($sCmd, $aFDs, $aPipes, null, $aEnv);
|
||||||
if (!is_resource($hProc)) {
|
if (!is_resource($hProc)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user