git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f426e1f
)
fix tutorials game details link
author
Christian Weiske
<cweiske@cweiske.de>
Mon, 4 Jan 2021 06:11:39 +0000
(07:11 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Mon, 4 Jan 2021 06:11:39 +0000
(07:11 +0100)
bin/functions.php
patch
|
blob
|
history
diff --git
a/bin/functions.php
b/bin/functions.php
index 870b2054bc2bc622ec41b26248bbeac14e923e76..bf086f4483f7470ce33baf35bf9860288ae3c72c 100644
(file)
--- a/
bin/functions.php
+++ b/
bin/functions.php
@@
-5,6
+5,10
@@
function categoryPath($title)
{
+ if ($title == 'Tutorials') {
+ //OUYAs fetch "Make" from "discover/tutorials"
+ $title = strtolower($title);
+ }
return str_replace(['/', '\\', ' ', '+', '?', '!'], '_', $title);
}
?>