program/include/main.inc
@@ -475,7 +475,7 @@ */ function asciiwords($str) { return preg_replace('/[^a-z0-9.-_]/i', '', $str); return preg_replace('/[^a-z0-9._-]/i', '', $str); } /** @@ -500,22 +500,6 @@ { return preg_replace('/[\r\n]/', '', $str); } /** * 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"); } /**