diff options
author | redmatrix <git@macgirvin.com> | 2016-05-20 01:33:34 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-20 01:33:34 -0700 |
commit | fdece3b1026ebe0a1e7512bdbd24028aef699318 (patch) | |
tree | 28d224752501406005dff4128f0189ca70d61e17 /boot.php | |
parent | cae380f068ce3c06360b430c84b267414dc02fcf (diff) | |
download | volse-hubzilla-fdece3b1026ebe0a1e7512bdbd24028aef699318.tar.gz volse-hubzilla-fdece3b1026ebe0a1e7512bdbd24028aef699318.tar.bz2 volse-hubzilla-fdece3b1026ebe0a1e7512bdbd24028aef699318.zip |
add some backtrace to find the issue
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1864,8 +1864,13 @@ function proc_run(){ } } - for($x = 0; $x < count($args); $x++) + for($x = 0; $x < count($args); $x++) { + if(is_array($args[$x])) { + logger('ERROR: shell args is array . ' . print_r($args,true)); + btlogger('args:'); + } $args[$x] = escapeshellarg($args[$x]); + } $cmdline = implode($args," "); |