From e58df3adc9b4182c232c94178d024bb4a89c2290 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 15 Jun 2008 05:19:47 -0400 Subject: [PATCH] - Added option to select skin in user preferences (#1485031) - template_exists() moved to rcube_template class --- program/include/main.inc | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/program/include/main.inc b/program/include/main.inc index 73b9c41..2740ee3 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -503,22 +503,6 @@ /** - * Check if a specific template exists - * - * @param string Template name - * @return boolean True if template exists - */ -function template_exists($name) - { - global $CONFIG; - $skin_path = $CONFIG['skin_path']; - - // check template file - return is_file("$skin_path/templates/$name.html"); - } - - -/** * Create a HTML table based on the given data * * @param array Named table attributes -- Gitblit v1.9.1