aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-20 01:45:29 -0700
committerredmatrix <git@macgirvin.com>2016-05-20 01:45:29 -0700
commitaefeda8c416f8aed34a187a5ca2408598add864f (patch)
treee93e2d7277311b819092f993165de8cfa25a172b /boot.php
parentfdece3b1026ebe0a1e7512bdbd24028aef699318 (diff)
downloadvolse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.tar.gz
volse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.tar.bz2
volse-hubzilla-aefeda8c416f8aed34a187a5ca2408598add864f.zip
recurse one more level of array when processing args
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 5d2f1d744..3ab5905ff 100755
--- a/boot.php
+++ b/boot.php
@@ -1829,7 +1829,14 @@ function proc_run(){
foreach($args as $arg) {
if(is_array($arg)) {
foreach($arg as $n) {
- $newargs[] = $n;
+ if(is_array($n)) {
+ foreach($n as $w) {
+ $newargs[] = $w;
+ }
+ }
+ else {
+ $newargs[] = $n;
+ }
}
}
else