again
This commit is contained in:
parent
4fa2520f97
commit
9812d66312
1 changed files with 0 additions and 3 deletions
|
@ -63,9 +63,6 @@ if($randomSource)
|
||||||
elseif(!in_array($booru, BOORUS))
|
elseif(!in_array($booru, BOORUS))
|
||||||
die('{"error":"booru"}');
|
die('{"error":"booru"}');
|
||||||
|
|
||||||
if($booru === 'danbooru' && $randomSource)
|
|
||||||
$booru = BOORUS[1 + (array_rand(BOORUS) - 1)];
|
|
||||||
|
|
||||||
if(!array_key_exists($booru, BOORU_INFOS))
|
if(!array_key_exists($booru, BOORU_INFOS))
|
||||||
die('{"error":"booru-info"}');
|
die('{"error":"booru-info"}');
|
||||||
|
|
||||||
|
|
Reference in a new issue