From: Brion Vibber Date: Sat, 2 Oct 2004 20:15:26 +0000 (+0000) Subject: Fix for running with no include_path set X-Git-Tag: 1.5.0alpha1~1690 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=bf8a62bb96e7ca669bbd2b66487b4e36ad35e9a0;p=lhc%2Fweb%2Fwiklou.git Fix for running with no include_path set --- diff --git a/index.php b/index.php index ffc481d6b1..39c815a889 100644 --- a/index.php +++ b/index.php @@ -62,7 +62,7 @@ if ( !is_null( $wgTitle ) && !$wgTitle->userCanRead() ) { wfProfileIn( "main-action" ); $search = $wgRequest->getText( 'search' ); if( !is_null( $search ) && $search !== '' ) { - require_once( 'SearchEngine.php' ); + require_once( 'includes/SearchEngine.php' ); $wgTitle = Title::makeTitle( NS_SPECIAL, "Search" ); $searchEngine = new SearchEngine( $search ); if( $wgRequest->getVal( 'fulltext' ) ||