Completely removed argc/argv
This commit is contained in:
@@ -45,11 +45,11 @@ class Help extends BaseModule
|
||||
$lang = $config->get('system', 'language');
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
if ($a->argc > 1) {
|
||||
if (DI::args()->getArgc() > 1) {
|
||||
$path = '';
|
||||
// looping through the argv keys bigger than 0 to build
|
||||
// a path relative to /help
|
||||
for ($x = 1; $x < $a->argc; $x ++) {
|
||||
for ($x = 1; $x < DI::args()->getArgc(); $x ++) {
|
||||
if (strlen($path)) {
|
||||
$path .= '/';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user