From: Mischa POSLAWSKY Date: Wed, 22 May 2019 21:57:43 +0000 (+0200) Subject: hardcode profile ids for inno clan X-Git-Tag: v0.4~1 X-Git-Url: http://git.shiar.nl/sc2-widget/commitdiff_plain/1a98a84619e7737def6d8d15e6d278e34ff5447a hardcode profile ids for inno clan --- diff --git a/widget.php b/widget.php index e222f22..78f0ab2 100644 --- a/widget.php +++ b/widget.php @@ -26,6 +26,10 @@ if ($last < time() - 3600) { if (is_numeric($request)) { $recipe = $request; } + elseif ($request == 'inno') { + #TODO: get ids from existing data + $recipe = "$request 2138280 6531490"; + } elseif (!$last) { error("Unknown profile request $request", 400); }