Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
7953149e
Commit
7953149e
authored
Jun 12, 2012
by
Petr Skoda
Browse files
MDL-33204 disable yui_combo slasharguments by default for now
parent
84e1e044
Changes
2
Hide whitespace changes
Inline
Side-by-side
config-dist.php
View file @
7953149e
...
...
@@ -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
...
...
lib/outputrequirementslib.php
View file @
7953149e
...
...
@@ -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"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment