mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-06-20 05:45:49 +00:00
WEB: Load localized data in models
This commit is contained in:
@@ -23,7 +23,7 @@ class GameDemosModel extends BasicModel
|
||||
{
|
||||
$groupedData = $this->getFromCache();
|
||||
if (is_null($groupedData)) {
|
||||
$fname = DIR_DATA . '/game_demos.yaml';
|
||||
$fname = $this->getLocalizedFile('game_demos.yaml');
|
||||
$demos = \yaml_parse_file($fname);
|
||||
$games = $this->gameModel->getAllGames();
|
||||
$platforms = $this->platformsModel->getAllData();
|
||||
|
||||
Reference in New Issue
Block a user