Simplify code.

This commit is contained in:
Michal Čihař
2005-10-31 09:30:55 +00:00
parent da6fae1ec9
commit 4e729233fb
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-10-31 Michal Čihař <michal@cihar.com>
* libraries/select_lang.lib.php: Simplify code.
2005-10-30 Michal Čihař <michal@cihar.com>
* lang/slovak: Update, thanks to Ivan Kuriscak - shylauda69.
* lang/*: Remove duplicite message.

View File

@@ -18,7 +18,7 @@ require_once('./libraries/grab_globals.lib.php');
* Define the path to the translations directory and get some variables
* from system arrays if 'register_globals' is set to 'off'
*/
$lang_path = 'lang/';
$lang_path = './lang/';
/**
@@ -316,5 +316,5 @@ if (!isset($convcharset) || empty($convcharset)) {
// 5. Defines the associated filename and load the translation
$lang_file = $lang_path . $available_languages[$lang][1] . '.inc.php';
require_once('./' . $lang_file);
require_once($lang_file);
?>