Minor correction for loading data files

This commit is contained in:
Netkas 2021-09-16 19:58:20 -04:00
parent 02a4fa2b33
commit f75f0cfda7
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@
{
if (empty(self::$rankedDictionaries))
{
$json = file_get_contents(dirname(__FILE__) . '/frequency_lists.json');
$json = file_get_contents(Utilities::getDataFilePath('frequency_lists.json'));
$data = json_decode($json, true);
$rankedLists = [];