includes/pageprocess.php
changeset 441 4d9a4da1975b
parent 325 e17cc42d77cf
child 458 c433348f3628
--- a/includes/pageprocess.php	Mon Dec 31 21:16:27 2007 -0500
+++ b/includes/pageprocess.php	Tue Jan 01 22:30:53 2008 -0500
@@ -646,6 +646,12 @@
       echo $redir_html;
     }
     
+    $code = $plugins->setHook('pageprocess_render_head');
+    foreach ( $code as $cmd )
+    {
+      eval($cmd);
+    }
+    
     if ( $incl_inner_headers )
     {
       $text = '?>' . RenderMan::render($text);
@@ -658,6 +664,12 @@
     // echo('<pre>'.htmlspecialchars($text).'</pre>');
     eval ( $text );
     
+    $code = $plugins->setHook('pageprocess_render_tail');
+    foreach ( $code as $cmd )
+    {
+      eval($cmd);
+    }
+    
     if ( $incl_inner_headers )
     {
       display_page_footers();