Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

784
 
1037
 
1037
 
database.php
_> 11 <?php
  22 /*
<> 3 -  $Id: database.php 784 2006-08-23 22:09:09Z hpdl $
   3+  $Id: database.php 1037 2006-10-22 09:16:01Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2004 osCommerce
   8+  Copyright (c) 2006 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
     
 !
2424         $number_of_queries = 0,
  2525         $time_of_queries = 0;
  2626 
<> 27 -    function &connect($server, $username, $password, $type = '') {
  28 -      if (empty($type)) {
  29 -        $type = DB_DATABASE_CLASS;
  30 -      }
  31 -
   27+    function &connect($server, $username, $password, $type = DB_DATABASE_CLASS) {
<_ 3228       require('database/' . $type . '.php');
  3329 
  3430       $class = 'osC_Database_' . $type;