Permalink
Browse files

Migrate mysql driver from mysql to mysqli

  • Loading branch information...
1 parent ddfdf8c commit 0fb915707900c1dcd554e69686d6b38a5e5ed0f6 @PSF1 committed on GitHub Aug 18, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 usr/adodb/cmsapi.php
@@ -81,7 +81,7 @@ public static function Execute($sql) {
public static function get() {
$cfg = driverConfig::getCFG();
if (self::$conn == null) {
- self::$conn = NewADOConnection('mysql');
+ self::$conn = NewADOConnection('mysqli');
try {
@self::$conn->Connect(
$cfg->getSection('[mysql]')->get('MYSQL_HOST'),
@@ -299,4 +299,4 @@ protected function parseWhere($whereP) {
}
}
}
-}
+}

0 comments on commit 0fb9157

Please sign in to comment.