diff --git a/connect.inc.php b/connect.inc.php index 65281d67..e39e4b4a 100644 --- a/connect.inc.php +++ b/connect.inc.php @@ -7,6 +7,7 @@ if (!(strlen($_GET["db"]) ? $mysql->select_db($_GET["db"]) : isset($_GET["sql"]) } else { echo '
' . lang('Create new database') . "
\n"; echo '\n"; + echo "" . lang('MySQL version') . ": $mysql->server_info " . lang('through PHP extension') . " " . (extension_loaded("mysqli") ? "MySQLi" : (extension_loaded("mysql") ? "MySQL" : "PDO")) . "
\n"; } page_footer("db"); exit; diff --git a/lang.inc.php b/lang.inc.php index 1cc4bb7c..88c00165 100644 --- a/lang.inc.php +++ b/lang.inc.php @@ -152,6 +152,8 @@ static $translations = array( 'Unable to operate trigger' => 'Nepořadilo se zpracovat spoušť', 'Time' => 'Čas', 'Event' => 'Událost', + 'MySQL version' => 'Verze MySQL', + 'through PHP extension' => 'přes PHP extenzi', ), );