Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e6325
)
error MDLSITE-1008 Fixed missing set_context call in error/index.php
author
Sam Hemelryk
<sam@moodle.com>
Mon, 4 Oct 2010 04:52:02 +0000
(
04:52
+0000)
committer
Sam Hemelryk
<sam@moodle.com>
Mon, 4 Oct 2010 04:52:02 +0000
(
04:52
+0000)
error/index.php
patch
|
blob
|
blame
|
history
diff --git
a/error/index.php
b/error/index.php
index
0a7f423
..
3728870
100644
(file)
--- a/
error/index.php
+++ b/
error/index.php
@@
-48,6
+48,7
@@
$PAGE->set_url('/error/');
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
+ $PAGE->set_context(get_system_context());
$PAGE->navbar->add('Error 404 - File not Found');
echo $OUTPUT->header();
echo $OUTPUT->box(get_string('pagenotexist', 'error'). '<br />'.s($requesturi), 'generalbox boxaligncenter');