includes/render.php
changeset 284 d823e49e2e4e
parent 261 5f1cd51bf1be
child 285 e72bf2c24875
--- a/includes/render.php	Fri Feb 01 22:31:57 2008 -0500
+++ b/includes/render.php	Fri Feb 22 12:46:51 2008 -0500
@@ -54,7 +54,7 @@
     if(!$perms->get_permissions('read'))
       return 'Access denied ('.$paths->nslist[$namespace].$page_id.')';
     
-    if($wiki == 0 || $render == false)
+    if($namespace != 'Template' && ($wiki == 0 || $render == false))
     {
       if(!$perms->get_permissions('view_source'))
       {