PITS /
00104: Option for disabling special pages like AllRecentUploads
Summary: Option for disabling special pages like AllRecentUploads
Created: 2004-10-19 06:39
Status: Closed - already available
Category: Feature
From: Henning
Assigned:
Priority: 4
Version: 1.0.11
OS: Linux/Apache 2
Description:
Option for disabling special pages like AllRecentUploads
I'd like to be able to disable AllRecentUploads to protect uploads to protected groups from being easily accessible without the password.
(I'm aware that security is limited even with that implemented. That's acceptable to me, though.)
No problem, this already exists in PmWiki. To turn off Main.AllRecentUploads, simply do the following in config.php:
unset($RecentUploads['Main.AllRecentUploads']);
If you want to turn off all RecentUploads pages, you can do it with:
$RecentUploads = array();
This information probably needs to be added to the PmWiki 1 cookbook. (RecentUploads is not yet implemented in PmWiki 2, see PITS:00001.)
--Pm