Changeset 1702 for trunk/gregarius/cls
- Timestamp:
- 04/06/07 11:50:43 (19 months ago)
- Files:
-
- 1 modified
-
trunk/gregarius/cls/db/db.mysqli.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/db/db.mysqli.php
r1701 r1702 42 42 43 43 function DBConnect($dbserver, $dbuname, $dbpass) { 44 $this -> _db = new mysqli($dbserver, $dbuname, $dbpass); 44 45 if (class_exists('mysqli')) { 46 $this -> _db = new mysqli($dbserver, $dbuname, $dbpass); 47 } else { 48 $this -> _db = false; 49 } 50 45 51 46 52 if(!$this -> _db) {
