IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2019, 6:16:41 PM (7 years ago)
Author:
cclin33
Message:

minor update for local test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ccl_branches/ipp-20190806/ippMonitor/raw/ipp.php

    r40975 r41027  
    106106  // connect to the database
    107107  if ($database == $CZARDBNAME) {
    108     $dsn = "mysql://$DBUSER:$DBPASS@$CZARDBHOST/$database";
    109     $dsnerr = "mysql://$DBUSER:XXX@$CZARDBHOST/$database"; // only used to report the error
    110   } else {
    111     $dsn = "mysql://$DBUSER:$DBPASS@$DBHOST/$database";
    112     $dsnerr = "mysql://$DBUSER:XXX@$DBHOST/$database"; // only used to report the error
     108    $dsn = "mysqli://$DBUSER:$DBPASS@$CZARDBHOST/$database";
     109    $dsnerr = "mysqli://$DBUSER:XXX@$CZARDBHOST/$database"; // only used to report the error
     110  } else {
     111    $dsn = "mysqli://$DBUSER:$DBPASS@$DBHOST/$database";
     112    $dsnerr = "mysqli://$DBUSER:XXX@$DBHOST/$database"; // only used to report the error
    113113  }
    114114  if ($DBI == "DB") {
Note: See TracChangeset for help on using the changeset viewer.