diff options
author | friendica <info@friendica.com> | 2012-07-22 05:13:29 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-22 05:13:29 -0700 |
commit | 1f313eba500e7fa78dd2a6062856aa5f755a300c (patch) | |
tree | ded3805c7e2319e77cbd51681e570ba7b3fee7f7 /boot.php | |
parent | 236ba8badcca39206e5a8595af5c1464bba2863e (diff) | |
download | volse-hubzilla-1f313eba500e7fa78dd2a6062856aa5f755a300c.tar.gz volse-hubzilla-1f313eba500e7fa78dd2a6062856aa5f755a300c.tar.bz2 volse-hubzilla-1f313eba500e7fa78dd2a6062856aa5f755a300c.zip |
upstream fixes
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1687,3 +1687,14 @@ function build_querystring($params, $name=null) { } return $ret; } + + +// much better way of dealing with c-style args + +function argc() { + return get_app()->argc; +} + +function argv($x) { + return get_app()->argv[$x]; +} |