X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=install%2Fcivicrm.php;h=debefb2925b073d0778f5299f764d52e7019738e;hb=156fd9b9cc7cb9fc9c719c280484481017f21373;hp=b91f8049067e42c720a33edbd7e9cd4a65b3a4ff;hpb=53cff2754529588e64b192ef5d6d5b8919d744e4;p=civicrm-core.git diff --git a/install/civicrm.php b/install/civicrm.php index b91f804906..debefb2925 100644 --- a/install/civicrm.php +++ b/install/civicrm.php @@ -1,9 +1,9 @@ getMessage()); } + $db->query("SET NAMES utf8"); $db->query("SET NAMES utf8"); @@ -173,6 +186,11 @@ function civicrm_source($dsn, $fileName, $lineMode = FALSE) { } } +/** + * @param $config + * + * @return string + */ function civicrm_config(&$config) { global $crmPath, $comPath; global $compileDir; @@ -225,6 +243,9 @@ function civicrm_config(&$config) { return trim($str); } +/** + * @return string + */ function civicrm_cms_base() { global $installType; @@ -275,6 +296,9 @@ function civicrm_cms_base() { return $url . $baseURL; } +/** + * @return string + */ function civicrm_home_url() { $drupalURL = civicrm_cms_base(); return $drupalURL . 'index.php?q=civicrm';