function fillpdf_template_scheme in FillPDF 7
Returns the configured template scheme for FillPDF.
Template files are less sensitive, so if the configured FillPDF template scheme is unavailable, we may fall back to the system's file default scheme.
File
- ./
fillpdf.module, line 2148
Code
function fillpdf_template_scheme() {
$template_scheme = variable_get('fillpdf_scheme');
$scheme_options = fillpdf_scheme_options();
return $template_scheme && isset($scheme_options[$template_scheme]) ? $template_scheme : variable_get('file_default_scheme', 'public');
}