Skip to content

Commit 270e5c3

Browse files
committed
Implemented: FS#446 - custom configurations for all ispconfig config files
1 parent 45fb5ca commit 270e5c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/lib/classes/tpl_ini.inc.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ function vlibTemplate () {
4848
global $conf;
4949

5050
$tpl_dir = $conf["rootpath"]."/conf";
51+
$include_paths = array($conf["rootpath"].'/conf-custom');
5152

5253
return array(
5354

5455
'TEMPLATE_DIR' => $tpl_dir, // Default directory for your template files (full path)
5556
// leave the '/' or '\' off the end of the directory.
56-
57+
'INCLUDE_PATHS' => $include_paths, // The include path is always searched first for a template file before the template_dir is checked
58+
5759
'MAX_INCLUDES' => 10, // Drill depth for tmpl_include's
5860

5961
'GLOBAL_VARS' => 1, // if set to 1, any variables not found in a

0 commit comments

Comments
 (0)