mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Completely removed argc/argv
This commit is contained in:
parent
540ddb9265
commit
df558d4056
18 changed files with 70 additions and 114 deletions
|
@ -40,10 +40,8 @@ class Xrd extends BaseModule
|
|||
{
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
if ($app->argv[0] == 'xrd') {
|
||||
if (DI::args()->getArgv()[0] == 'xrd') {
|
||||
if (empty($_GET['uri'])) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue