includes/pageprocess.php
changeset 557 26479224936a
parent 542 5841df0ab575
child 570 4d0d5dae61e5
--- a/includes/pageprocess.php	Sat May 24 23:40:42 2008 -0400
+++ b/includes/pageprocess.php	Sat Jun 07 12:39:24 2008 -0400
@@ -174,6 +174,11 @@
     
     profiler_log("PageProcessor [{$this->namespace}:{$this->page_id}]: Started send process");
     
+    if ( $this->send_headers )
+    {
+      $template->init_vars($this);
+    }
+    
     if ( !$this->perms->get_permissions('read') )
     {
       // Permission denied to read page. Is this one of our core pages that must always be allowed?
@@ -228,6 +233,8 @@
     }
     if ( $this->namespace == 'Special' || $this->namespace == 'Admin' )
     {
+      $this->revision_time = time();
+      
       if ( !$this->page_exists )
       {
         $func_name = "page_{$this->namespace}_{$this->page_id}";