forked from friendica/friendica-addons
fix argv stuff
This commit is contained in:
parent
3d7b5dcb47
commit
f30d425bdb
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ function retriever_content($a) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isset(DI::args()->getArgv()[1])) {
|
if (isset(DI::args()->getArgv()[1])) {
|
||||||
$arg1 = DI::args()->getArgv()[1]
|
$arg1 = DI::args()->getArgv()[1];
|
||||||
$retriever_rule = get_retriever_rule($arg1, local_user(), false);
|
$retriever_rule = get_retriever_rule($arg1, local_user(), false);
|
||||||
if (!$retriever_rule) {
|
if (!$retriever_rule) {
|
||||||
$retriever_rule = ['id' => 0, 'data' => ['enable' => 0, 'modurl' => '', 'pattern' => '', 'replace' => '', 'images' => 0, 'storecookies' => 0, 'cookiedata' => '', 'customxslt' => '', 'include' => '', 'exclude' => '']];
|
$retriever_rule = ['id' => 0, 'data' => ['enable' => 0, 'modurl' => '', 'pattern' => '', 'replace' => '', 'images' => 0, 'storecookies' => 0, 'cookiedata' => '', 'customxslt' => '', 'include' => '', 'exclude' => '']];
|
||||||
|
|
Loading…
Add table
Reference in a new issue