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:
@@ -12,7 +12,7 @@ class GameDownloadsModel extends BasicModel
|
||||
/* Get all download entries. */
|
||||
public function getAllDownloads()
|
||||
{
|
||||
$fname = DIR_DATA . '/games.xml';
|
||||
$fname = $this->getLocalizedFile('games.xml');
|
||||
/* Now parse the data. */
|
||||
$parser = new XMLParser();
|
||||
$parsedData = $parser->parseByFilename($fname);
|
||||
|
||||
Reference in New Issue
Block a user