[Firebug-cvs] firebug/web db_drop.php,1.1,1.2 list_db.php,1.5,1.6
Brought to you by:
doolin
From: <do...@us...> - 2003-05-22 19:07:30
|
Update of /cvsroot/firebug/firebug/web In directory sc8-pr-cvs1:/tmp/cvs-serv30593a Modified Files: db_drop.php list_db.php Log Message: Simplified array handling for the database dropping php script.This change needs to be propogated into list_db.php. Index: db_drop.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/db_drop.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_drop.php 14 May 2003 22:40:18 -0000 1.1 --- db_drop.php 22 May 2003 19:07:27 -0000 1.2 *************** *** 25,29 **** $dblink=mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect."); ! $system_dbs = array(1 => "mysql", 2 => "test"); $db_list = mysql_list_dbs($dblink); --- 25,30 ---- $dblink=mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect."); ! /* Add the names of other databases here. */ ! $system_dbs = array("mysql","test"); $db_list = mysql_list_dbs($dblink); Index: list_db.php =================================================================== RCS file: /cvsroot/firebug/firebug/web/list_db.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** list_db.php 15 May 2003 23:38:28 -0000 1.5 --- list_db.php 22 May 2003 19:07:28 -0000 1.6 *************** *** 24,28 **** <?php $dblink=mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect."); ! $arr = array(1 => "mysql", 2 => "test"); $db_list = mysql_list_dbs($dblink); --- 24,29 ---- <?php $dblink=mysql_connect("localhost","root","") or die("Error: ".mysql_error()." in mysql_connect."); ! $arr = array(1 => "mysql", 2 => "test"); ! $db_list = mysql_list_dbs($dblink); |