We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5973a commit d6af2bdCopy full SHA for d6af2bd
interface/lib/classes/tpl_ini.inc.php
@@ -50,9 +50,12 @@ public static function vlibTemplate()
50
{
51
52
$tpl_dir = ISPC_THEMES_PATH.'/'.$_SESSION['s']['theme'].'/templates';
53
+ $def_tpl_dir = ISPC_THEMES_PATH.'/default/templates';
54
return array(
55
- 'TEMPLATE_DIR' => $tpl_dir, // Default directory for your template files (full path)
56
+ 'INCLUDE_PATHS' => array($tpl_dir), // The path, searched BEVORE the template_dir is searched for the template-file
57
+
58
+ 'TEMPLATE_DIR' => $def_tpl_dir, // Default directory for your template files (full path)
59
// leave the '/' or '\' off the end of the directory.
60
61
'MAX_INCLUDES' => 10, // Drill depth for tmpl_include's
0 commit comments