]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
Moved functions out of boot.php into class
[friendica.git] / mod / help.php
index 5db74c15e8f68c9cee6c7e58c49cd0bba8fc1fd9..53118544fb1a72781e73090f1266f550817c134d 100644 (file)
@@ -36,12 +36,12 @@ function help_content(App $a)
                $path = '';
                // looping through the argv keys bigger than 0 to build
                // a path relative to /help
-               for ($x = 1; $x < argc(); $x ++) {
+               for ($x = 1; $x < $a->argc; $x ++) {
                        if (strlen($path)) {
                                $path .= '/';
                        }
 
-                       $path .= argv($x);
+                       $path .= $a->getArgumentValue($x);
                }
                $title = basename($path);
                $filename = $path;