summaryrefslogtreecommitdiff
path: root/inc/search.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-02-01 15:38:41 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-02-01 15:38:41 +0100
commit0af14a6e25ba35e88d96762bc73325838868e3fe (patch)
tree8f60efb36406b6e8a5cf5d3269384e26fa072828 /inc/search.php
parent2dcde3047b0cbc7cb75b3d9f84fd05a217b7fced (diff)
downloadrpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.gz
rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.bz2
removed more unneeded require_once() calls
Diffstat (limited to 'inc/search.php')
-rw-r--r--inc/search.php2
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;