summaryrefslogtreecommitdiff
path: root/lib/plugins/config/settings/config.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-02-01 20:24:11 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-02-01 20:24:11 +0100
commitbc9d46afa580ee1191b02e2fe3b03fd863045b8b (patch)
tree98e1452f4c0cf7bd52289b8f228ee3a7821dc283 /lib/plugins/config/settings/config.class.php
parent81aca18e6e88c08386c11592dbf4650114aba04f (diff)
downloadrpg-bc9d46afa580ee1191b02e2fe3b03fd863045b8b.tar.gz
rpg-bc9d46afa580ee1191b02e2fe3b03fd863045b8b.tar.bz2
some more DOKU_TPL removal
Diffstat (limited to 'lib/plugins/config/settings/config.class.php')
-rw-r--r--lib/plugins/config/settings/config.class.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/plugins/config/settings/config.class.php b/lib/plugins/config/settings/config.class.php
index adf7d217a..1cdab607f 100644
--- a/lib/plugins/config/settings/config.class.php
+++ b/lib/plugins/config/settings/config.class.php
@@ -279,10 +279,10 @@ if (!class_exists('configuration')) {
}
// the same for the active template
- if (@file_exists(DOKU_TPLINC.$file)){
+ if (@file_exists(tpl_incdir().$file)){
$meta = array();
- @include(DOKU_TPLINC.$file);
- @include(DOKU_TPLINC.$class);
+ @include(tpl_incdir().$file);
+ @include(tpl_incdir().$class);
if (!empty($meta)) {
$metadata['tpl'.CM_KEYMARKER.$tpl.CM_KEYMARKER.'template_settings_name'] = array('fieldset');
}
@@ -314,9 +314,9 @@ if (!class_exists('configuration')) {
}
// the same for the active template
- if (@file_exists(DOKU_TPLINC.$file)){
+ if (@file_exists(tpl_incdir().$file)){
$conf = array();
- @include(DOKU_TPLINC.$file);
+ @include(tpl_incdir().$file);
foreach ($conf as $key => $value){
$default['tpl'.CM_KEYMARKER.$tpl.CM_KEYMARKER.$key] = $value;
}