Documentation and Support for PEAR extensions

Re: Documentation and Support for PEAR extensions

Martin Dougiamas -
回帖数:1
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Our general policy is to make Moodle standalone and independent of PEAR. PEAR has not been as reliable as you might think (eg not included on cheap web hosts etc).

Where we've used PEAR extensions we've included copies in Moodle core, and gone through some trouble to allow them to be licensed as GPL to make this legal:

http://docs.moodle.org/en/Credits

Most of the PEAR libraries are accessed by some other API in /lib, and sometimes these will go to the trouble of checking and using a real separate PEAR version if it exists, and only falling back to the included version if necessary. This is the preferred way to handle these things.