Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
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.
2016-06-10 08:06:49 +10:00
Simey Lameze
dcee0b9447
MDL-49360 core_lib: add new method get_local_referer()
...
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:11:24 +08:00
Simey Lameze
e9588b7e68
MDL-50380 mod_wiki: fix missing parameter on wiki edit files page
...
Also fixing a typo on the $referer variable.
2015-05-28 12:40:43 +08:00
Frederic Massart
b2687a055d
MDL-49179 weblib: Secure the direct usage of $_SERVER['HTTP_REFERER']
2015-05-05 18:31:13 +08:00
Marina Glancy
2f7b38cfb3
MDL-49267 mod_wiki: always apply filters to the wiki name
2015-03-06 13:57:55 +08:00
Marina Glancy
3a7b9b76c2
MDL-39990 wiki: more detailed validation of view/edit access rights
2014-03-03 14:45:03 +08:00
Sam Hemelryk
593b838546
MDL-44159 mod_wiki: unify @package use
2014-02-21 08:32:58 +13:00
Rossiani Wijaya
876c0ac382
MDL-41288 wiki: improve heading levels and styling
2013-09-10 14:08:34 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Simon Coggins
fd1d829500
MDL-35991 - use PARAM_LOCALURL for local urls
2013-01-07 10:09:20 +08:00
Ankit Agarwal
1df2362669
MDL-34470 wiki: Replace all instances of get_context_instance() with context_xxx::instance() in mod/wiki
2012-07-23 15:10:07 +08:00
Dongsheng Cai
6723372514
MDL-28666 Extends repository to support references
...
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Dongsheng Cai
12c9bbbdd2
MDL-26392 WIKI added file managment support to wiki editor
2011-06-03 11:22:18 +08:00