mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-33204 disable yui_combo slasharguments by default for now
This commit is contained in:
parent
84e1e04418
commit
7953149e01
@ -234,6 +234,10 @@ $CFG->admin = 'admin';
|
||||
// '/filedir' => '/var/www/moodle/filedir', // for custom $CFG->filedir locations
|
||||
// );
|
||||
//
|
||||
// YUI caching may be sometimes improved by slasharguments:
|
||||
// $CFG->yuislasharguments = 1;
|
||||
// Some servers may need a special rewrite rule to work around internal path length limitations:
|
||||
// RewriteRule (^.*/theme/yui_combo\.php)(/.*) $1?file=$2
|
||||
//
|
||||
//
|
||||
// This setting will prevent the 'My Courses' page being displayed when a student
|
||||
|
@ -152,7 +152,8 @@ class page_requirements_manager {
|
||||
public function __construct() {
|
||||
global $CFG;
|
||||
|
||||
$sep = empty($CFG->slasharguments) ? '?' : '/';
|
||||
// You may need to set up URL rewrite rule because oversized URLs might not be allowed by web server.
|
||||
$sep = empty($CFG->yuislasharguments) ? '?' : '/';
|
||||
|
||||
require_once("$CFG->libdir/yui/phploader/phploader/loader.php");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user