|
Cookbook /
PageAtticSummary: How to store backup files of deleted pages in a separate directory
Version: 2006-01-29
Prerequisites: Last tested on PmWiki version: pmwiki-2.1.beta22
Status:
Maintainer: floozy
Categories: Administration, CustomPageStore
QuestionThe wiki.d/ directory can get crowded if many pages are deleted, especially in conjunction with the ExpireDiff recipe. How to store the backup files of deleted pages in a separate directory? Answer Attention: The third line of the script can cause a lot of trouble, if you use the PerGroupSubDirectories recipe. The good news are that it can be easily fixed. Just replace
NotesThe location of the attic directory can be controlled by setting the $AtticDir = 'wiki.trash'; The directory is relative to the location containing the main pmwiki.php script, and should be specified without any trailing slash. Contributors
|