return Core\Theme::getStylesheetPath($this->getCurrentTheme());
}
- /**
- * @deprecated use Arguments->get() instead
- *
- * @see App\Arguments
- */
- public function getArgumentValue($position, $default = '')
- {
- return $this->args->get($position, $default);
- }
-
/**
* Sets the base url for use in cmdline programs which don't have
* $_SERVER variables
$path .= '/';
}
- $path .= $a->getArgumentValue($x);
+ $path .= DI::args()->get($x);
}
$title = basename($path);
$filename = $path;
// route: install/testrwrite
// $baseurl/install/testrwrite to test if rewrite in .htaccess is working
- // @TODO: Replace with parameter from router
- if ($a->getArgumentValue(1, '') == 'testrewrite') {
+ if (DI::args()->get(1, '') == 'testrewrite') {
// Status Code 204 means that it worked without content
throw new HTTPException\NoContentException();
}