Commit 62fbebae authored by bgm's avatar bgm

CRM-13584: make it possible to localise the CiviCRM installer. Moves the...

CRM-13584: make it possible to localise the CiviCRM installer. Moves the language option to the top, and adds more help text on how to localize. (NB: some ts() were added to the strings, but not all yet).
parent 23849b4e
......@@ -36,12 +36,6 @@ function civicrm_setup($filesDirectory) {
global $crmPath, $sqlPath, $pkgPath, $tplPath;
global $compileDir;
$pkgPath = $crmPath . DIRECTORY_SEPARATOR . 'packages';
set_include_path($crmPath . PATH_SEPARATOR .
$pkgPath . PATH_SEPARATOR .
get_include_path()
);
$sqlPath = $crmPath . DIRECTORY_SEPARATOR . 'sql';
$tplPath = $crmPath . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'CRM' . DIRECTORY_SEPARATOR . 'common' . DIRECTORY_SEPARATOR;
......@@ -123,7 +117,6 @@ function civicrm_main(&$config) {
function civicrm_source($dsn, $fileName, $lineMode = FALSE) {
global $crmPath;
require_once "$crmPath/packages/DB.php";
$db = DB::connect($dsn);
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment