SearchWiki:
Login  |  Language:  En | Ru

Fidolook

Extensions

PmWiki



Recent Changes Printable View Page History Edit Page
PmWiki uses the external programs diff and patch to store and restore previous versions of pages. While these programs are commonly available on most Unix systems, they are generally not available under Windows.

WinDiff (http://www.pmichaud.com/pub/windiff/windiff.zip) is a special package containing Windows versions of the diff and patch programs from the Gnuwin32 project. To use this package, simply create a windiff/ subdirectory in the directory that holds your pmwiki.php script and copy the files from the zip archive into that directory. Then, add the following lines to your local/config.php file:

    $SysDiffCmd = 'windiff\\diff';
    $SysPatchCmd = 'windiff\\patch --silent';

That should be all there is to it! Questions and comments can be sent to pmwiki-users@pmichaud.com.


Those with MSys already installed may find the following config lines helpful:

    $SysDiffCmd = 'C:/msys/1.0/bin/diff.exe';
    $SysPatchCmd = 'C:/msys/1.0/bin/patch.exe';

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki Page last modified on March 17, 2004 03:29AM