[phpwebapp-commits] CVS: web_app/database class.MySQLCnn.php,1.4,1.5 class.Connection.php,1.4,1.5
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-08-20 07:01:58
|
Update of /cvsroot/phpwebapp/web_app/database In directory sc8-pr-cvs1:/tmp/cvs-serv5491/database Modified Files: class.MySQLCnn.php class.Connection.php Log Message: fixed a bug introduced by comment conversion Index: class.MySQLCnn.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/database/class.MySQLCnn.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** class.MySQLCnn.php 11 Aug 2003 16:17:52 -0000 1.4 --- class.MySQLCnn.php 20 Aug 2003 06:57:45 -0000 1.5 *************** *** 9,13 **** { /** - * passw =DBPASS, $db_name =DBNAME) * Opens a connection using the given parameters. * If no parameters are given, then uses as default values --- 9,12 ---- *************** *** 15,18 **** --- 14,18 ---- */ function MySQLCnn($host =DBHOST, $user =DBUSER, + $passw =DBPASS, $db_name =DBNAME) { $this->cnn = mysql_pconnect($host, $user, $passw); Index: class.Connection.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/database/class.Connection.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** class.Connection.php 11 Aug 2003 16:17:52 -0000 1.4 --- class.Connection.php 20 Aug 2003 06:57:45 -0000 1.5 *************** *** 18,23 **** * like this one. */ - /** assw =DBPASS, $db_name =DBNAME) */ function Connection($host =DBHOST, $user =DBUSER, { //empty function --- 18,23 ---- * like this one. */ function Connection($host =DBHOST, $user =DBUSER, + $passw =DBPASS, $db_name =DBNAME) { //empty function |