diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-02-01 15:38:41 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-02-01 15:38:41 +0100 |
commit | 0af14a6e25ba35e88d96762bc73325838868e3fe (patch) | |
tree | 8f60efb36406b6e8a5cf5d3269384e26fa072828 /inc/template.php | |
parent | 2dcde3047b0cbc7cb75b3d9f84fd05a217b7fced (diff) | |
download | rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.gz rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.bz2 |
removed more unneeded require_once() calls
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php index bab68e549..bd5f58792 100644 --- a/inc/template.php +++ b/inc/template.php @@ -345,11 +345,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).';'; |