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:
David Mudrák
2019-10-04 21:34:53 +02:00
parent 8b89ab5798
commit 1d0dc3102a
+2 -3
View File
@@ -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");
/**