[Pmwiki-users] Hook in diff-patch
Tue Mar 2 10:15:42 CST 2004
> On Tue, Mar 02, 2004 at 04:09:32PM +0000, nk at knappi.org wrote:
> > > Sorry about that--it's already been fixed for the next release
> > > (sometime later today, I hope).
> > Mhm, while you're at it... I would very much like to see something like
> > in pmwiki.php. That way I wouldn't have to patch it every time you make a new release.
> > Only, if it's not too big an inconvenience...
> Instead, how about if I change it to:
> $DiffFunction = 'Diff';
> $PatchFunction = 'Patch';
> where you can override these variables in config.php with the
> names of your custom diff/patch functions?
That's fine. I just proposed the other one because it seemed to be less code to change.
But your version is cleaner.
More information about the pmwiki-users