Piotr Przybylski schrieb:
While going through PMA code I found some useless parts in PMA_fatalError (core.lib.php):
- I don't see strError in select_lang.lib.php if (isset($strError)) { $GLOBALS['strError'] = $strError; }
this comes from loaded language file, as Marc already wrote
- It's already made global in select_lang.lib.php if (isset($text_dir)) { $GLOBALS['text_dir'] = $text_dir; }
same as above, $GLOBALS['text_dir'] in select_lang.lib.php is only the default/fallback, the correct is defined in loaded language file