X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/b24b7805d6318a2f4f678a1a5805747cebe343ce..HEAD:/cx/lib/template.php diff --git a/cx/lib/template.php b/cx/lib/template.php index 004c2ab..638c600 100644 --- a/cx/lib/template.php +++ b/cx/lib/template.php @@ -9,7 +9,7 @@ function cx_template_content_path($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) {