mirror of
https://github.com/moodle/moodle.git
synced 2025-04-25 10:26:17 +02:00
If the user selects a plugin in Moodle plugins directory to be installed into their site, Moodle plugins directory will redirect them into their site's admin/index.php script, providing the installaddonrequest parameter. This patch makes sure that only if the user is logged-in as the admin and the site is fully installed and up-to-date, the add-on installation request will be dispatched to the tool_installaddon for actual processing. We need to store the installaddonrequest value in the $PAGE's URL so that is is stored in $SESSION->wantsurl in case the user needs to log in at their site. Thanks to this, the request is dispatched after the user logs in.
…
…
…
…
…
…
…
…
QUICK INSTALL ============= For the impatient, here is a basic outline of the installation process, which normally takes me only a few minutes: 1) Move the Moodle files into your web directory. 2) Create a single database for Moodle to store all its tables in (or choose an existing database). 3) Visit your Moodle site with a browser, you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up Moodle, creating an admin account etc. 4) Set up a cron task to call the file admin/cron.php every five minutes or so. For more information, see the INSTALL DOCUMENTATION: http://docs.moodle.org/en/Installing_Moodle Good luck and have fun! Martin Dougiamas, Lead Developer
Description
Languages
PHP
78.1%
JavaScript
14.6%
Gherkin
3.5%
CSS
1.7%
Mustache
1.6%
Other
0.4%