MDL-66118 hub: Define the new sites directory URL
The Moodle sites now register with stats.moodle.org so use that as a new official hub's URL. Beside that, allow for the alternative value be provided in config.php for development and testing purposes.
This commit is contained in:
+2
-3
@@ -491,11 +491,10 @@ define('HOMEPAGE_USER', 2);
|
||||
*/
|
||||
define('HUB_HUBDIRECTORYURL', "https://hubdirectory.moodle.org");
|
||||
|
||||
|
||||
/**
|
||||
* Moodle.net url (should be moodle.net)
|
||||
* URL of the Moodle sites registration portal.
|
||||
*/
|
||||
define('HUB_MOODLEORGHUBURL', "https://moodle.net");
|
||||
defined('HUB_MOODLEORGHUBURL') || define('HUB_MOODLEORGHUBURL', 'https://stats.moodle.org');
|
||||
define('HUB_OLDMOODLEORGHUBURL', "http://hub.moodle.org");
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user