GeneralConfig: Fixed failure to import $cache during save
authorDan
Fri, 15 May 2009 14:40:12 -0400
changeset 983 36e42d787d1d
parent 982 bd349add2697
child 984 18f5a15b810c
GeneralConfig: Fixed failure to import $cache during save
plugins/SpecialAdmin.php
--- 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);