includes/template.php
changeset 843 4415e50e4e84
parent 832 7152ca0a0ce9
child 848 b33241a7cc28
--- a/includes/template.php	Thu Feb 26 01:06:58 2009 -0500
+++ b/includes/template.php	Thu Feb 26 01:07:32 2009 -0500
@@ -1499,7 +1499,7 @@
     }
     
     // Full pathname of template file
-    $tpl_file_fullpath = ENANO_ROOT . '/themes/' . $this->theme . '/' . $file;
+    $tpl_file_fullpath = ( strstr($file, '/') ) ? $file : ENANO_ROOT . '/themes/' . $this->theme . '/' . $file;
     
     // Make sure the template even exists
     if ( !is_file($tpl_file_fullpath) )