Simplify code.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-10-31 Michal Čihař <michal@cihar.com>
|
||||||
|
* libraries/select_lang.lib.php: Simplify code.
|
||||||
|
|
||||||
2005-10-30 Michal Čihař <michal@cihar.com>
|
2005-10-30 Michal Čihař <michal@cihar.com>
|
||||||
* lang/slovak: Update, thanks to Ivan Kuriscak - shylauda69.
|
* lang/slovak: Update, thanks to Ivan Kuriscak - shylauda69.
|
||||||
* lang/*: Remove duplicite message.
|
* lang/*: Remove duplicite message.
|
||||||
|
@@ -18,7 +18,7 @@ require_once('./libraries/grab_globals.lib.php');
|
|||||||
* Define the path to the translations directory and get some variables
|
* Define the path to the translations directory and get some variables
|
||||||
* from system arrays if 'register_globals' is set to 'off'
|
* 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
|
// 5. Defines the associated filename and load the translation
|
||||||
$lang_file = $lang_path . $available_languages[$lang][1] . '.inc.php';
|
$lang_file = $lang_path . $available_languages[$lang][1] . '.inc.php';
|
||||||
require_once('./' . $lang_file);
|
require_once($lang_file);
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user