git.shiar.nl
/
sc2-widget
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hardcode profile ids for inno clan
[sc2-widget]
/
widget.php
diff --git
a/widget.php
b/widget.php
index e222f22afdc64b9ab63605ca39540458a8af7fd5..78f0ab28ef564b6f2fcd70a40b8581fbb6aa11fc 100644
(file)
--- 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 <q>$request</q>", 400);
}