Disabled global search by default and marked as experimental MDL-7296 and AJAX moved to experimental too

This commit is contained in:
skodak
2006-10-30 20:57:08 +00:00
parent 362af1586a
commit 5e435e4635
13 changed files with 62 additions and 3 deletions
+4
View File
@@ -5,6 +5,10 @@
require_login();
if (empty($CFG->enableglobalsearch)) {
error('Global searching is not enabled.');
}
if (!isadmin()) {
error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
} //if