Replaced argv/argc with replacement functions
This commit is contained in:
parent
9cc4682e0a
commit
0c0abd9238
23 changed files with 136 additions and 138 deletions
|
|
@ -35,7 +35,7 @@ function poco_init(App $a) {
|
|||
throw new \Friendica\Network\HTTPException\ForbiddenException();
|
||||
}
|
||||
|
||||
if ($a->argc > 1) {
|
||||
if (DI::args()->getArgc() > 1) {
|
||||
// Only the system mode is supported
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue