summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-02-01 20:07:04 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-02-01 20:07:04 +0100
commit81aca18e6e88c08386c11592dbf4650114aba04f (patch)
tree3780608f425c962f5644c53515a059a767104414 /lib/exe/js.php
parentc4dda6afdfe780288bffaebcde485b32b91731d6 (diff)
downloadrpg-81aca18e6e88c08386c11592dbf4650114aba04f.tar.gz
rpg-81aca18e6e88c08386c11592dbf4650114aba04f.tar.bz2
removed some more occurances of DOKU_TPL*
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index b7f2fd222..963eebd5f 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -65,7 +65,7 @@ function js_out(){
# disabled for FS#1958 DOKU_INC.'lib/scripts/hotkeys.js',
DOKU_INC.'lib/scripts/behaviour.js',
DOKU_INC.'lib/scripts/page.js',
- DOKU_TPLINC.'script.js',
+ tpl_incdir().'script.js',
);
// add possible plugin scripts and userscript
@@ -87,7 +87,7 @@ function js_out(){
// add some global variables
print "var DOKU_BASE = '".DOKU_BASE."';";
- print "var DOKU_TPL = '".DOKU_TPL."';";
+ print "var DOKU_TPL = '".tpl_basedir()."';";
// FIXME: Move those to JSINFO
print "var DOKU_UHN = ".((int) useHeading('navigation')).";";
print "var DOKU_UHC = ".((int) useHeading('content')).";";