Skip to content

Commit

Permalink
修复测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Apr 15, 2021
1 parent cc1de18 commit a9027c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chinese/Traits/JSONInit.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function loadPinyinSound()
}
elseif (empty(Chinese::$option['pinyinSoundDataPath']))
{
Chinese::$chineseData['pinyinSound'] = json_decode(file_get_contents(\dirname(__DIR__, 3) . '/data/pinyinData.json'), true)['sound'];
Chinese::$chineseData['pinyinSound'] = json_decode(file_get_contents(\dirname(\dirname(\dirname(__DIR__))) . '/data/pinyinData.json'), true)['sound'];
}
else
{
Expand Down

0 comments on commit a9027c8

Please sign in to comment.