fix for prev commit

This commit is contained in:
Max Pozdeev 2020-09-25 12:36:04 +03:00
parent 15fb7f86b0
commit 5f022b2674

View file

@ -27,7 +27,7 @@ class Lang
//check if json file exists
if ( self::langExists($code) ) {
$jsonString = file_get_contents( $this->langDir(). "{$code}.json" );
$jsonString = file_get_contents( self::$langDir. "{$code}.json" );
$lang->loadJsonString($code, $jsonString);
}
else if ( $die == 0 ) {