Commit 867a7623 authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

Validate httpswwwroot setting existance and notify user if needed (bug #646713)

For more details see:

Change-Id: I527632cd784827bb08f3ec19f903d2e94e70aa07
Signed-off-by: default avatarRuslan Kabalin <>
parent ae04dbcb
......@@ -2255,5 +2255,12 @@ function xmldb_core_upgrade($oldversion=0) {
$SESSION->add_info_msg('Email settings now can be configured via Site settings, however they may be overriden by those set in the config file. If you have no specific reason to use config file email configuration, please consider moving them to Site settings area.');
if ($oldversion < 2011050300) {
if (get_config('httpswwwroot')) {
// Notify users about httpswwwroot removal if it is still set
$SESSION->add_info_msg('HTTPS logins have been deprecated, you need to remove the httpswwwroot variable from config file and switch your wwwroot to https so that the whole site is served over HTTPS.<br>See <a href=""></a> for more details.', 0);
return $status;
......@@ -28,7 +28,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2011042000;
$config->version = 2011050300;
$config->release = '1.4.0alpha2dev';
$config->minupgradefrom = 2008040200;
$config->minupgraderelease = '1.0.0 (release tag 1.0.0_RELEASE)';
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