Unverified Commit 2e5067e6 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub

Merge pull request #16898 from civicrm/5.24

parents 7a07be0d 269f890e
......@@ -138,6 +138,11 @@ global $tsLocale;
$tsLocale = 'en_US';
$seedLanguage = 'en_US';
// Backwards compatibility with default location of l10n files
if (!defined('CIVICRM_L10N_BASEDIR') && file_exists($crmPath . DIRECTORY_SEPARATOR . 'l10n')) {
define('CIVICRM_L10N_BASEDIR', $crmPath . DIRECTORY_SEPARATOR . 'l10n');
// CRM-16801 This validates that seedLanguage is valid by looking in $langs.
// NB: the variable is initial a $_REQUEST for the initial page reload,
// then becomes a $_POST when the installation form is submitted.
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