Merge branch 'wip-mdl-55466' of https://github.com/rajeshtaneja/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 13 Sep 2016 23:38:51 +0000 (01:38 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 13 Sep 2016 23:38:51 +0000 (01:38 +0200)
1  2 
lib/upgrade.txt

diff --cc lib/upgrade.txt
@@@ -71,8 -71,10 +71,13 @@@ information provided here is intended e
    - 3. Run: Which process behat should be initialise for.
  * behat_context_helper::set_session() has been deprecated, please use behat_context_helper::set_environment() instead.
  * data-fieldtype="type" attribute has been added to form field default template.
 -* Relative paths in $CFG->alternateloginurl will be resolved to absolute path within moodle site. That means:
 +* form elements extending MoodleQuickForm_group must call $this->createFormElement() instead of
 +  @MoodleQuickForm::createElement() in order to be compatible with PHP 7.1
++* Relative paths in $CFG->alternateloginurl will be resolved to absolute path within moodle site. Previously they
++  were resolved to absolute path within the server. That means:
+   - $CFG->wwwroot: http://example.com/moodle
+   - $CFG->alternateloginurl : /my/super/login.php
+   - Login url will be: http://example.com/moodle/my/super/login.php (moodle root based)
  
  === 3.1 ===