includes/render.php
changeset 457 d823e49e2e4e
parent 322 5f1cd51bf1be
child 458 c433348f3628
--- 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'))
       {