From: Ben Sherratt Date: Sun, 5 Jul 2026 11:03:16 +0000 (+0100) Subject: Use the correct file request call X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain?ds=sidebyside Use the correct file request call --- 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) {