mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 16:10:15 +01:00
dirname() is a slow function compared with __DIR__ and using '/../'. Moodle has a large number of legacy files that are included each time a page loads and is not able to use an autoloader as it is functional code. This allows those required includes to perform as best as possible in this situation.
Official Chat Module for Moodle ------------------------------ The chat module now supports a backend daemon for more efficiency. It's still buggy and being worked on, but if you want to test it and help out here are some quick instructions: 1) Admin -> Config -> Modules -> Chat -> Settings 2) Set the method to "sockets" and set up the ports etc 3) Start the server like this (from the Unix command line): cd moodle/mod/chat php chatd.php --start & 4) Go to a chat room in Moodle and open it as normal. ------ KNOWN PROBLEMS - User list is not always working - Some browsers (eg Safari) cause lines to be repeated by 10 - 20 times - Occasionally "Document was empty" messages Help solving these very welcome! Martin, 31 July 2004