mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merged fix SC22 from STABLE, even though this file will be rewritten
with Petr's new file handling soon! :-)
This commit is contained in:
parent
bee41f23ee
commit
8579e15617
@ -41,6 +41,9 @@
|
||||
if (! ($filename = $regs[5])) {
|
||||
error("No valid file name supplied");
|
||||
}
|
||||
if (detect_munged_arguments($relativefilepath)) {
|
||||
error("Errors in the supplied file path");
|
||||
}
|
||||
|
||||
//////////////////////////////////////////
|
||||
// Info from $pathinfo is now extracted!
|
||||
|
Loading…
x
Reference in New Issue
Block a user