MDL-58701 libraries: Use pluginfile.php as rewrite url for web req.

This commit is contained in:
Ankit Agarwal
2017-04-27 09:40:19 +05:30
parent 77be0785fd
commit e63627f50e
+2
View File
@@ -987,6 +987,8 @@ class external_settings {
if ((AJAX_SCRIPT == false) && (CLI_SCRIPT == false) && (WS_SERVER == false)) {
// For normal pages, the default should match the default for format_text.
$this->filter = true;
// Use pluginfile.php for web requests.
$this->file = 'pluginfile.php';
}
}