{
$json = json_decode(file_get_contents($discoverFile));
- $title = $json->title;
+ $title = $json->title . ' OUYA games';
$sections = [];
foreach ($json->rows as $row) {
$section = (object) [
}
$navLinks = [];
- if ($title == 'DISCOVER') {
+ if ($json->title == 'DISCOVER') {
$navLinks['../'] = 'back';
+ $title = 'OUYA games list';
} else {
$navLinks['./'] = 'discover';
}