00983: fix "include" syntax for feed actions in default-config.php
Description: The default-config.php file contains "include" commands to enable ?action=rss and other feed types. These lines are currently in the format
if ($action == 'rss') include_once('scripts/feeds.php'); # RSS 2.0
which works with single wikis, but not with farms. To work with farms as well, the syntax should be
if ($action == 'rss') include_once("$FarmD
/scripts/feeds.php"); # RSS 2.0
While additional wikis in a wiki farm will need the $FarmD
variable, most new admins will likely start with a single wiki which doesn't need the $FarmD
variable. An advanced admin may try to install a farm after reading and learning a little bit. So, in order to keep things simple for new admins with their first wiki, sample-config.php intentionally omits the $FarmD
variable (less information overload). And advanced admins already know how to use the $FarmD
variable. This was suggested before (and even changed in subversion), but Pm prefers it the current way (so it was reverted). --Petko October 17, 2012, at 04:01 PM