public static function getPath($templateName) { if (file_exists(ROOT_PATH . "Template/{$templateName}.htm")) { return ROOT_PATH . "Template/{$templateName}.htm"; } else { return ""; } }