diff --git a/ChangeLog b/ChangeLog index be32bfec2..434fab261 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-07-11 Alexander M. Turek + * db_create.php3: + - Display CREATE DATABASE query; + - Call user-defined default tab instead of hardcoded db_details.php3. + 2003-07-10 Garvin Hicking * libraries/display_tbl.lib.php3: Let the default function take the honor to replace special strings, so that a non-default function @@ -32,12 +37,12 @@ $Source$ * lang/chinese_big5: Updated, thanks to Siu Sun (siusun). * lang/spanish: Updated, thanks to Daniel Hinostroza (dhinostroza). * lang/galician: Updated, thanks to Xosé Calvo. - + 2003-07-09 Garvin Hicking * tbl_query_box.php3: Fix Bug #768652 (sql history tab submittet to whole frameset) * Documentation.html, config.inc.php3, libraries/common.lib.php3, - libraries/config_import.lib.php3, header.inc.php3: Created auto-detection + libraries/config_import.lib.php3, header.inc.php3: Created auto-detection for $cfg['OBGzip'] and set this as default. It will auto-enable OBGzip for all browsers except IE6.x. Created a meta-header to identify which setting is used, to make our debugging of bugreports easier. diff --git a/db_create.php3 b/db_create.php3 index 6cd2d4605..df98837e4 100755 --- a/db_create.php3 +++ b/db_create.php3 @@ -27,14 +27,14 @@ if (PMA_MYSQL_INT_VERSION < 32306) { /** * Executes the db creation sql query */ -$local_query = 'CREATE DATABASE ' . PMA_backquote($db); -$result = PMA_mysql_query('CREATE DATABASE ' . PMA_backquote($db)) or PMA_mysqlDie('', $local_query, FALSE, $err_url); +$sql_query = 'CREATE DATABASE ' . PMA_backquote($db); +$result = PMA_mysql_query('CREATE DATABASE ' . PMA_backquote($db)) or PMA_mysqlDie('', $sql_query, FALSE, $err_url); /** - * Displays the result and moves back to the calling page + * Displays the result and calls default page */ $message = $strDatabase . ' ' . htmlspecialchars($db) . ' ' . $strHasBeenCreated; -require('./db_details.php3'); +require('./' . $cfg['DefaultTabDatabase']); ?>