Don't break feeds
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 16 Jun 2008 22:17:36 +0000 (22:17 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 16 Jun 2008 22:17:36 +0000 (22:17 +0000)
includes/PageHistory.php

index a82748f..82ccdb3 100644 (file)
@@ -498,7 +498,8 @@ class PageHistory {
         * @param string $type
         */
        function feed( $type ) {
-               require_once 'SpecialRecentchanges.php';
+               global $IP;
+               require_once "$IP/includes/specials/Recentchanges.php";
 
                global $wgFeed, $wgFeedClasses;