From 5f022b26744f94567e68a2a6f1dccc797dd321b0 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Fri, 25 Sep 2020 12:36:04 +0300 Subject: [PATCH] fix for prev commit --- src/includes/class.lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class.lang.php b/src/includes/class.lang.php index ae59432..bfe22ec 100644 --- a/src/includes/class.lang.php +++ b/src/includes/class.lang.php @@ -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 ) {