From: Seamus Lee Date: Fri, 9 Sep 2016 21:48:59 +0000 (+1000) Subject: CRM-17789 Allow end users to stop the switch to mysqli for the dsn X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b3029f893f9a22491d34f7d8fd95fd3d2dc235fc;p=civicrm-core.git CRM-17789 Allow end users to stop the switch to mysqli for the dsn --- diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index c23fd9355b..9dba9ef546 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -32,6 +32,10 @@ * @copyright CiviCRM LLC (c) 2004-2016 */ +if (!defined('DB_DSN_MODE')) { + define('DB_DSN_MODE', 'auto'); +} + require_once 'PEAR.php'; require_once 'DB/DataObject.php';