Recent Changes - Search:

PmWiki

pmwiki.org

00983

Summary: fix "include" syntax for feed actions in default-config.php
Created: 2007-10-01 15:36
Status: Open
Category: Bug
Assigned:
Priority: 3
Version: 2.2 beta
OS:

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

Edit - History - Print - Recent Changes - Search
Page last modified on January 12, 2008, at 12:24 AM