Minor correction for loading data files
This commit is contained in:
parent
02a4fa2b33
commit
f75f0cfda7
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue