Description: Install templates into /etc/ rather than /usr/share/. Also, add support for templates.d directory. Author: Sven Velt , Sebastian Harl 0)) { + foreach ($templates_d as $dirname) { + $conf['template_dirs'][] = "$dirname"; + } +} $conf['template_dirs'][] = '@datarootdir@/templates.dist'; # # Directory to search for special templates # -$conf['special_template_dir'] = '@datarootdir@/templates.special'; +$conf['special_template_dir'] = '@sysconfdir@/templates.special'; # # Regex to detect mobile devices