diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-02-01 20:24:11 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-02-01 20:24:11 +0100 |
commit | bc9d46afa580ee1191b02e2fe3b03fd863045b8b (patch) | |
tree | 98e1452f4c0cf7bd52289b8f228ee3a7821dc283 /lib/plugins/config/admin.php | |
parent | 81aca18e6e88c08386c11592dbf4650114aba04f (diff) | |
download | rpg-bc9d46afa580ee1191b02e2fe3b03fd863045b8b.tar.gz rpg-bc9d46afa580ee1191b02e2fe3b03fd863045b8b.tar.bz2 |
some more DOKU_TPL removal
Diffstat (limited to 'lib/plugins/config/admin.php')
-rw-r--r-- | lib/plugins/config/admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/config/admin.php b/lib/plugins/config/admin.php index 64906171d..c883e7b6a 100644 --- a/lib/plugins/config/admin.php +++ b/lib/plugins/config/admin.php @@ -270,10 +270,10 @@ class admin_plugin_config extends DokuWiki_Admin_Plugin { // the same for the active template $tpl = $conf['template']; - if (@file_exists(DOKU_TPLINC.$enlangfile)){ + if (@file_exists(tpl_incdir().$enlangfile)){ $lang = array(); - @include(DOKU_TPLINC.$enlangfile); - if ($conf['lang'] != 'en') @include(DOKU_TPLINC.$langfile); + @include(tpl_incdir().$enlangfile); + if ($conf['lang'] != 'en') @include(tpl_incdir().$langfile); foreach ($lang as $key => $value){ $this->lang['tpl'.CM_KEYMARKER.$tpl.CM_KEYMARKER.$key] = $value; } |