NOBUG: Set a better pagelayout on admin/index.php
authorSam Hemelryk <sam@moodle.com>
Tue, 12 Oct 2010 01:18:01 +0000 (01:18 +0000)
committerSam Hemelryk <sam@moodle.com>
Tue, 12 Oct 2010 01:18:01 +0000 (01:18 +0000)
admin/index.php

index 8ea4251..93d2ff6 100644 (file)
@@ -65,6 +65,7 @@ $agreelicense   = optional_param('agreelicense', 0, PARAM_BOOL);
 // Check some PHP server settings
 
 $PAGE->set_url('/admin/index.php');
+$PAGE->set_pagelayout('admin'); // Set a default pagelayout
 
 $documentationlink = '<a href="http://docs.moodle.org/en/Installation">Installation docs</a>';