plugins/SpecialAdmin.php
changeset 983 36e42d787d1d
parent 966 2db0975aa31a
child 1008 d21eef4f9e8c
--- a/plugins/SpecialAdmin.php	Fri May 15 14:27:35 2009 -0400
+++ b/plugins/SpecialAdmin.php	Fri May 15 14:40:12 2009 -0400
@@ -69,9 +69,12 @@
 
 // function names are IMPORTANT!!! The name pattern is: page_<namespace ID>_<page URLname, without namespace>
 
-function page_Admin_GeneralConfig() {
+function page_Admin_GeneralConfig()
+{
   global $db, $session, $paths, $template, $plugins; // Common objects
   global $lang;
+  global $cache;
+  
   if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN )
   {
     $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true);