includes/render.php
changeset 458 c433348f3628
parent 411 d1a95497b68f
parent 457 d823e49e2e4e
child 507 586fd7d3202d
--- a/includes/render.php	Fri Feb 22 12:48:57 2008 -0500
+++ b/includes/render.php	Fri Feb 22 12:51:53 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'))
       {