]> git.bts.cx Git - cx.git/blobdiff - cx/lib/template.php
Use the correct file request call
[cx.git] / cx / lib / template.php
index 004c2abccf5b96eb9afd74a25239dc717d3a58a2..638c6008de3177ce4b07453a5d00907db1ea6ff7 100644 (file)
@@ -9,7 +9,7 @@ function cx_template_content_path($class, $path) {
 }
 
 function cx_template_has_content($class, $path) {
 }
 
 function cx_template_has_content($class, $path) {
-       return file_exists(cx_template_content_path($class, $path));
+       return is_file(cx_template_content_path($class, $path));
 }
 
 function cx_template_output_content($class, $path, $cache_age = 30 * 86400) {
 }
 
 function cx_template_output_content($class, $path, $cache_age = 30 * 86400) {