Recent Changes - Search:

PmWiki

pmwiki.org

01037

Summary: Variables in wrong order in the sample-config.php
Created: 2008-07-25 12:19
Status: Open
Category: Bug
From: Profiles
Assigned:
Priority: 1
Version: 2.2.0-beta67
OS:

Description: The page http://www.pmwiki.org/wiki/PmWiki/UrlApprovals says:

"Example: To set the limit to 5 unapproved links, add the following line to a configuration file:
$UnapprovedLinkCountMax = 5;
include_once('scripts/urlapprove.php');

Note that $UnapprovedLinkCountMax must be set before including the urlapprove.php script."

In the sample-config.php the variables are in reverse order (as follows) and their order should be changed.

 ##  If you want to have to approve links to external sites before they
 ##  are turned into links, uncomment the line below.  See PmWiki.UrlApprovals.
 ##  Also, setting $UnapprovedLinkCountMax limits the number of unapproved
 ##  links that are allowed in a page (useful to control wikispam).
 # include_once('scripts/urlapprove.php');
# $UnapprovedLinkCountMax = 10;
Edit - History - Print - Recent Changes - Search
Page last modified on July 25, 2008, at 12:22 PM