Moodle - the world's open source learning platform https://moodle.org/
Find a file
Petr Skoda 2e00d01db4 MDL-46099 session: fix use of references for session globals
This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.

This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.
2014-07-01 08:38:00 +12:00
admin MDL-46099 session: fix use of references for session globals 2014-07-01 08:38:00 +12:00
auth MDL-46045 Fix php tags (lowercase) everywhere 2014-06-19 11:05:16 +08:00
availability MDL-45698 behat: Added extra setting, to avoid timout issue 2014-05-29 09:44:03 +08:00
backup MDL-43835 behat: Fixed backup behat test 2014-06-25 12:54:52 +08:00
badges MDL-43835 behat: Use proper step for navigation expansion 2014-06-25 12:54:53 +08:00
blocks MDL-46045 Fix php tags (lowercase) everywhere 2014-06-19 11:05:16 +08:00
blog MDL-45445 events: added missing 'relateduserid' validation 2014-06-12 20:46:58 -07:00
cache MDL-37145 caching: noted recommendation for dedicated memcache servers 2014-06-23 10:57:15 +12:00
calendar MDL-45486 Bump all versions to planned release 2014-05-09 02:12:28 +02:00
cohort MDL-44717 events: Fix multiple issues in events 2014-04-01 15:08:34 +08:00
comment Merge branch 'wip-MDL-45512-master' of git://github.com/abgreeve/moodle 2014-05-20 14:21:56 +08:00
completion MDL-43835 behat: Fixed matches for select form field 2014-06-25 12:54:52 +08:00
course MDL-46031 output: remove leftover line 2014-06-25 03:05:24 +02:00
enrol MDL-28420 enrol_database: Allow use of remote hidden field to specify non-enrolled 'Other User' creation 2014-06-19 10:27:56 -04:00
error MDL-31560 Error: Fixed coding style 2013-09-13 16:13:26 +08:00
files MDL-46031 output: better handling of once-per-page items 2014-06-19 18:50:04 +01:00
filter Revert " MDL-45044 filter_tex: properly escape excutable pathnames for Windows" 2014-06-26 10:06:20 +02:00
grade MDL-43835 behat: Fixed matches for select form field 2014-06-25 12:54:52 +08:00
group MDL-45808 group: Observe the group key policy upon group creation 2014-06-04 15:16:22 +08:00
install Automatically generated installer lang files 2014-06-25 00:45:19 +00:00
iplookup MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
lang MDL-46045 whitespace fix 2014-06-24 21:50:05 +02:00
lib MDL-46099 session: fix use of references for session globals 2014-07-01 08:38:00 +12:00
local MDL-26943 Add db/subplugins.php to the local plugin readme.txt 2013-07-02 12:02:33 +08:00
login MDL-43119 Add valid until dates for tokens created by login/token.php 2014-05-07 16:16:40 +08:00
message Merge branch 'wip-mdl-45565' of https://github.com/rajeshtaneja/moodle 2014-05-29 08:12:32 +12:00
mnet MDL-45486 Bump all versions to planned release 2014-05-09 02:12:28 +02:00
mod MDL-42716 mod_assign: Lang str for the viewblinddetails capability 2014-06-25 13:20:41 +08:00
my MDL-45147 my: automate testing of block restriction 2014-04-17 15:30:00 +12:00
notes MDL-44017 Events: Added unit test for report_viewed events 2014-03-07 15:16:10 +08:00
pix MDL-45943: Replacement for publisher icons 2014-06-10 19:20:35 +02:00
plagiarism MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
portfolio MDL-45503 upgrade: add v2.7.0 sep lines 2014-05-28 01:13:42 +02:00
question MDL-43365 lib: converted text and plugin deprecated classes to new scheme 2014-06-25 09:30:38 +12:00
rating MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
report Merge branch 'MDL-45445_master' of https://github.com/markn86/moodle 2014-06-24 21:54:58 +02:00
repository MDL-46038 repositories: added forgotten global 2014-06-18 13:37:24 +08:00
rss MDL-31501 rework user session architecture 2013-09-21 13:11:56 +02:00
tag Merge branch 'MDL-44398-master' of git://github.com/ankitagarwal/moodle 2014-05-01 14:21:39 +08:00
theme Merge branch 'MDL-46022-master' of git://github.com/jethac/moodle 2014-06-24 14:10:51 +08:00
user Merge branch 'MDL-10115-master' of git://github.com/xow/moodle 2014-06-24 16:03:21 +08:00
userpix MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
webservice MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
.gitignore MDL-44361 Import YUI 3.15.0 2014-02-26 14:39:03 +08:00
.jshintrc MDL-43194 JavaScript: Correct maxlen jshint configuration 2013-12-04 16:39:48 +08:00
.shifter.json MDL-42774 JavaScript: Ensure that shifter cleans build directories before running 2013-11-11 18:29:35 +08:00
behat.yml.dist MDL-37046 behat: Adding empty Behat config file 2013-01-29 08:40:37 +08:00
brokenfile.php
composer.json MDL-45769 behat: use final versions of symfony and behat 2014-06-09 09:56:52 +08:00
config-dist.php Merge branch 'MDL-46045-master' of git://github.com/damyon/moodle 2014-06-24 21:48:30 +02:00
COPYING.txt
draftfile.php MDL-31501 rework user session architecture 2013-09-21 13:11:56 +02:00
file.php MDL-42387 standardise file lifetime handling 2013-11-01 10:42:18 +01:00
help.php MDL 38508 JavaScript: Split out AJAX and non-AJAX help 2013-04-08 21:01:20 +01:00
help_ajax.php MDL 38508 JavaScript: Split out AJAX and non-AJAX help 2013-04-08 21:01:20 +01:00
index.php MDL-1626 mod_forum: Move subscription management to a separate class 2014-06-24 12:16:33 +08:00
install.php MDL-46099 session: fix use of references for session globals 2014-07-01 08:38:00 +12:00
mdeploy.php MDL-42973 fix multiple addon update issues 2013-12-06 09:36:38 +08:00
mdeploytest.php MDL-38493 Make mdeploy.php able to install new plugin 2013-03-28 11:54:05 +01:00
phpunit.xml.dist MDL-45565 phpunit: Changed testsuite_name, so as to avoid class collision 2014-05-27 09:43:52 +08:00
pluginfile.php MDL-40719 pluginfile.php: the file API is now stable, so hide debug. 2013-07-19 12:06:00 +01:00
README.txt MDL-38048 documentation: Typo in README file 2013-02-15 13:14:39 +08:00
tags.txt NOBUG - reduce whitespace errors a little 2013-04-15 13:29:14 +01:00
TRADEMARK.txt
version.php weekly release 2.8dev 2014-06-26 10:35:37 +02:00

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