Line 448:
$config['connect_js'] = "document.location.protocol + '//connect.facebook.net/$config[language_code]/all.js'";
Should be just before line 458:
$config['loginout_mode'] = variable_get('fbconnect_loginout_mode', 'manual');
Which gives you this result:
$config['app_id'] = variable_get('fbconnect_appid', NULL);
$config['secret_api_key'] = variable_get('fbconnect_skey', NULL);
$config['debug'] = variable_get('fbconnect_debug', FALSE);
if (module_exists('i18n')) {
global $language;
$switch_code = variable_get('fbconnect_language_code_' . $language->language, '');
if ($switch_code) {
$config['language_code'] = $switch_code;
}
}
$config['connect_js'] = "document.location.protocol + '//connect.facebook.net/$config[language_code]/all.js'";
$config['loginout_mode'] = variable_get('fbconnect_loginout_mode', 'manual');
$config['invite_name'] = variable_get('fbconnect_invite_name', variable_get('site_name', $base_url));
$config['fast_reg_mode'] = variable_get('fbconnect_fast_reg', NULL);
$config['fast_reg_autoname'] = variable_get('fbconnect_fast_reg_autoname', 1);
Comments
Comment #1
jcisio commentedThanks. It's fixed in the last dev.