Replaced argv/argc with replacement functions
This commit is contained in:
parent
42454b3cf7
commit
f878d2e463
9 changed files with 25 additions and 25 deletions
|
@ -111,7 +111,7 @@ function forumdirectory_content(App $a)
|
|||
);
|
||||
|
||||
if (DBA::isResult($r)) {
|
||||
if (in_array('small', $a->argv)) {
|
||||
if (in_array('small', DI::args()->getArgv())) {
|
||||
$photo = 'thumb';
|
||||
} else {
|
||||
$photo = 'photo';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue