summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-03-12 14:11:50 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-03-12 14:11:50 +0100
commitd7879495eef6e6a998f5d727304e88dfa5420108 (patch)
tree720cee6a7b738e5fec32492b4f6c1cf69312583d /inc/template.php
parent84645d8c01570c5ea4cda556e70beccdec25ee22 (diff)
parent05ed2c25ea0dc45eef2af0f9f4176c939af41100 (diff)
downloadrpg-d7879495eef6e6a998f5d727304e88dfa5420108.tar.gz
rpg-d7879495eef6e6a998f5d727304e88dfa5420108.tar.bz2
Merge branch 'requireall'
Conflicts: inc/fulltext.php
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 7fe440b18..7b0ef466b 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -338,11 +338,9 @@ function tpl_metaheaders($alt=true){
'href'=>DOKU_BASE.'lib/exe/css.php?s=print&t='.$conf['template'].'&tseed='.$tseed);
// make $INFO and other vars available to JavaScripts
- require_once(DOKU_INC.'inc/JSON.php');
$json = new JSON();
$script = "var NS='".$INFO['namespace']."';";
if($conf['useacl'] && $_SERVER['REMOTE_USER']){
- require_once(DOKU_INC.'inc/toolbar.php');
$script .= "var SIG='".toolbar_signature()."';";
}
$script .= 'var JSINFO = '.$json->encode($JSINFO).';';