git.shiar.nl
/
sc2-widget
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
60d3575
)
hardcode profile ids for inno clan
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 May 2019 21:57:43 +0000
(23:57 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 May 2019 22:07:53 +0000
(
00:07
+0200)
widget.php
patch
|
blob
|
history
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;
}
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);
}
elseif (!$last) {
error("Unknown profile request <q>$request</q>", 400);
}