/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2020
- * $Id$
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
* @param $filesDirectory
*/
function civicrm_setup($filesDirectory) {
if (PEAR::isError($db)) {
die("Cannot open $dsn: " . $db->getMessage());
}
- $db->query("SET NAMES utf8");
-
- $db->query("SET NAMES utf8");
+ $db->query('SET NAMES utf8mb4');
if (!$lineMode) {
$string = file_get_contents($fileName);
global $tplPath, $installType;
// Ex: $extraSettings[] = '$civicrm_settings["domain"]["foo"] = "bar";';
- $extraSettings = array();
+ $extraSettings = [];
$params = array(
'crmRoot' => $crmPath,