dfbf98cdb35ceec3a9de60b37bb62fcab1ca19df
- The code uses the system context a lot. Declare $sysctx at the top and use it. - If the category has a context property, use it (saves 1 DB query per category displayed) The DB costs of this page in editing mode are - ~100 DB queries for fix_course_sortorder() - ~50 DB queries for the categories listing If we rewrite both to lose the recursion, we could resolve the page in perhaps 5 DBq.
README $Id$ ------ 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 it's 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 A local copy can also be found in lang/en_utf8/help/install.html (or your language) Good luck and have fun! Martin Dougiamas, Lead Developer
Description
Languages
PHP
85.9%
JavaScript
9.2%
Gherkin
2.3%
CSS
1.2%
Mustache
1%
Other
0.3%