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/search.php | |
parent | 2dcde3047b0cbc7cb75b3d9f84fd05a217b7fced (diff) | |
download | rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.gz rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.bz2 |
removed more unneeded require_once() calls
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/search.php b/inc/search.php index ce4fefe06..9e0964404 100644 --- a/inc/search.php +++ b/inc/search.php @@ -194,7 +194,6 @@ function search_media(&$data,$base,$file,$type,$lvl,$opts){ $info['writable'] = is_writable($base.'/'.$file); if(preg_match("/\.(jpe?g|gif|png)$/",$file)){ $info['isimg'] = true; - require_once(DOKU_INC.'inc/JpegMeta.php'); $info['meta'] = new JpegMeta($base.'/'.$file); }else{ $info['isimg'] = false; @@ -320,7 +319,6 @@ function search_backlinks(&$data,$base,$file,$type,$lvl,$opts){ } //fetch instructions - require_once(DOKU_INC.'inc/parserutils.php'); $instructions = p_cached_instructions($base.$file,true); if(is_null($instructions)) return false; |