Moodle - the world's open source learning platform https://moodle.org/
Find a file
Eloy Lafuente (stronk7) 70ae75674d MDL-51863 packer: ensure empty zip files behavior remains consistent
With PHP bug #70322 fixed, ZipArchive::close() did start returning false
and throwing PHP Warnings with recent PHP versions (5.6.14 and up).
Previously (5.6.13 verified) it was returning true, and false in older
versions (5.4.x verified).

This change does silent the 2 "hacky" calls to close() that we perform
in core leaving the 3rd one (used for files having files) unmodified.

A new unit test has been created to cover the close() behavior, ideally
supporting both old and new PHP versions without harcoding any PHP
version.

Note that we don't use to rely much on results coming from close(), and
that's a good thing given the buggy behavior commented above. This just
keeps empty zips working like they were before.
2015-10-26 21:16:54 +01:00
admin Merge branch 'MDL-50412-master' of git://github.com/danpoltawski/moodle 2015-10-19 07:56:51 +08:00
auth MDL-46623 auth: Sheduled tasks for users sync 2015-10-22 12:45:57 +08:00
availability Merge branch 'MDL-51652-master' of https://github.com/sammarshallou/moodle 2015-10-15 13:45:10 +01:00
backup MDL-49545 backup: Restore does not respect some capabilities 2015-10-15 02:45:27 +00:00
badges Merge branch 'MDL-51408-master' of git://github.com/marinaglancy/moodle 2015-10-05 13:49:00 +08:00
blocks MDL-50993 forum: Display timed posts/discussions in a logical order 2015-10-19 04:04:58 +00:00
blog MDL-51296 blog: Added title that reflects the blog's editing mode 2015-09-14 10:52:09 +08:00
cache Merge branch 'wip-MDL-50932-master' of git://github.com/marinaglancy/moodle 2015-08-17 11:43:42 +08:00
calendar MDL-49561 core_lib: added info to bennu readme 2015-09-04 19:38:55 -07:00
cohort MDL-51241 cohorts: Update to cohort query. 2015-09-18 07:30:37 +08:00
comment Merge branch 'MDL-47773-master-commentui' of git://github.com/mudrd8mz/moodle 2015-04-07 11:34:23 +08:00
completion MDL-48117 behat: Use form field to check checkbox 2015-10-19 17:00:24 +08:00
course Merge branch 'MDL-51679-groupmode-ajax' of https://github.com/Dagefoerde/moodle 2015-10-15 11:41:26 +01:00
enrol MDL-30674 enrol_guest: version bump in case it's needed for something 2015-10-23 13:31:59 +02:00
error MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
files MDL-51083 admin: Prevent password autofill in authentication settings 2015-10-09 14:04:34 +08:00
filter MDL-51222 Javascript: Trigger events for filters on DOM insertion 2015-09-22 15:40:51 +08:00
grade MDL-50483 gradereport_user: fix overlapping on the error message 2015-10-19 08:58:34 +08:00
group MDL-50647 groups: Documentation fix 2015-10-16 11:28:06 +08:00
install Automatically generated installer lang files 2015-10-23 00:04:16 +08:00
iplookup MDL-47321 iplookup: Prevent guest users from using iplookup 2014-11-04 10:01:43 +13:00
lang Merge branch 'MDL-49329-master-multiplug' of git://github.com/mudrd8mz/moodle 2015-10-16 14:53:26 +01:00
lib MDL-51863 packer: ensure empty zip files behavior remains consistent 2015-10-26 21:16:54 +01:00
local MDL-49643 navigation: Fix API for extending navigation in local plugins 2015-03-26 12:17:15 +01:00
login Merge branch 'MDL-51217-master' of git://github.com/lucisgit/moodle 2015-09-14 10:04:08 +08:00
message MDL-51673 messages: Added codes for the unit tests 2015-10-16 16:05:30 -05:00
mnet MDL-51162 core: replace all HTTP_RAW_POST_DATA usages 2015-10-20 10:27:26 +08:00
mod MDL-40863 mod_resource: bump version 2015-10-23 11:34:52 +01:00
my MDL-46878 my: Behat tests to cover reset of all customised pages 2015-09-18 11:40:09 +08:00
notes MDL-51536 webservices: fix invalid param definitions 2015-10-13 19:01:42 +01:00
pix NOBUG: Fixed SVG browser compatibility 2015-10-14 10:49:00 +01:00
plagiarism MDL-39752 fix whitespace errors 2015-03-10 14:13:20 +00:00
portfolio MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
question MDL-51771 question engine: fix typo in SQL 2015-10-18 16:03:29 +01:00
rating MDL-49823 webservice: Support gravatar profile images 2015-10-01 09:36:31 +02:00
report Merge branch 'MDL-51399' of https://github.com/andrewhancox/moodle 2015-10-14 15:02:50 +01:00
repository MDL-51083 admin: Prevent password autofill in authentication settings 2015-10-09 14:04:34 +08:00
rss MDL-33564 rss: Fixing missing param type 2015-09-15 17:58:05 +08:00
tag MDL-51260 core_tag: Use new tag autocomplete for related tags 2015-10-15 12:03:52 +08:00
theme Merge branch 'MDL-51739-master-individual-locking' of git://github.com/ryanwyllie/moodle 2015-10-23 10:42:17 +02:00
user Merge branch 'MDL-51427-master' of git://github.com/marinaglancy/moodle 2015-10-13 10:13:43 +08:00
userpix MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
webservice MDL-51435 Web Services: E_WARNING in core_webservice_get_site_info 2015-10-09 09:00:07 +01:00
.csslintrc MDL-48277 css: enable some helpful csslint warnings 2014-11-18 22:11:36 +00:00
.gitignore MDL-49840 testing: Stop ignoring composer.lock 2015-04-14 11:25:29 +08:00
.jshintrc MDL-51222 Javascript: Trigger events for filters on DOM insertion 2015-09-22 15:40:51 +08:00
.shifter.json MDL-42774 JavaScript: Ensure that shifter cleans build directories before running 2013-11-11 18:29:35 +08:00
.travis.yml MDL-51458 travis: note the purpose of config 2015-10-22 12:14:04 +01: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-51660 behat: Upgarde behat and phpunit 2015-10-06 10:53:01 +08:00
composer.lock MDL-51660 behat: Upgarde behat and phpunit 2015-10-06 10:53:01 +08:00
config-dist.php MDL-49329 admin: Clean up disabling of plugins code management features 2015-10-10 09:11:19 +02:00
COPYING.txt
draftfile.php MDL-31501 rework user session architecture 2013-09-21 13:11:56 +02:00
file.php MDL-48799 Files API: fixed legacy directory fallback. 2015-02-01 09:02:37 +01:00
Gruntfile.js MDL-50766 grunt: Check that there are yui modules before running shifter 2015-09-11 15:11:48 +08:00
help.php MDL-48389 forms: added page title to help text 2014-12-09 15:21:06 +13: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-49811 lib: Added js to skiplinks 2015-10-05 06:17:58 -05:00
install.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
package.json MDL-50277 Javascript: Hardcode nodejs dependencies 2015-05-20 09:41:17 +08:00
phpunit.xml.dist MDL-50926 phpunit: Upgrade to phpunit 4.x 2015-08-11 02:35:11 +02: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 MDL-48855 dev: Fix ctags command to handle extra whitespace 2015-01-23 10:59:29 +08:00
TRADEMARK.txt
version.php Moodle release 3.0beta 2015-10-23 13:47:50 +01: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