Browse Source

Feature #272 - An insignificant change in the internationalization library.

Ivan Tcholakov 15 years ago
parent
commit
f4846b5d44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/internationalization.lib.php

+ 1 - 1
main/inc/lib/internationalization.lib.php

@@ -129,7 +129,7 @@ function get_lang($variable, $notrans = 'DLTT', $language = null) {
 	// Caching results from some API functions, for speed.
 	static $langpath;
 	if (!isset($langpath)) {
-		$langpath = api_get_path(SYS_CODE_PATH).'lang/';
+		$langpath = api_get_path(SYS_LANG_PATH);
 	}
 	static $test_server_mode;
 	if (!isset($test_server_mode)) {