diff options
Diffstat (limited to 'search/index.php')
-rw-r--r-- | search/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/index.php b/search/index.php index 7369a6d81ce..c781c31f549 100644 --- a/search/index.php +++ b/search/index.php @@ -38,7 +38,7 @@ $query=(isset($_POST['query']))?$_POST['query']:''; if($query){ $results=OC_Search::search($query); }else{ - header("Location: ".$WEBROOT.'/'.OC_Appconfig::getValue("core", "defaultpage", "files/index.php")); + header("Location: ".OC::$WEBROOT.'/'.OC_Appconfig::getValue("core", "defaultpage", "files/index.php")); exit(); } |