[phpwebapp-commits] CVS: web_app/boxes/webnotes DB.php,1.2,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2006-03-08 12:32:11
|
Update of /cvsroot/phpwebapp/web_app/boxes/webnotes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16806/boxes/webnotes Modified Files: DB.php Log Message: Index: DB.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/boxes/webnotes/DB.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DB.php 2 Nov 2005 15:17:54 -0000 1.2 --- DB.php 8 Mar 2006 12:31:42 -0000 1.3 *************** *** 18,22 **** //create a global connection variable ! global $cnn; ! $cnn = new MySQLCnn($host, $user, $passwd, $db); ! ?> \ No newline at end of file --- 18,25 ---- //create a global connection variable ! if (WEBNOTES_ENABLE=='true') ! { ! global $cnn; ! $cnn = new MySQLCnn($host, $user, $passwd, $db); ! } ! ?> |