diff --git a/app/Web/Lang.php b/app/Web/Lang.php index 770f38aa..0e3e0753 100644 --- a/app/Web/Lang.php +++ b/app/Web/Lang.php @@ -66,6 +66,14 @@ public static function recognize() return substr(@$_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); } + /** + * @return string + */ + public static function getLang(): string + { + return self::$lang; + } + /** * @param $key