[Pmwiki-users] pmwiki major version numbers
Patrick R. Michaud
Tue Sep 28 22:19:06 CDT 2004
On Sun, Sep 26, 2004 at 04:30:21PM +0200, Knut Alboldt wrote:
> Is there a variable that could be checked for the used pmwiki major version
> (1/2) ?
> Ok, this could be done via a substr() of $Version, but it would be nice to
> have something linke
> if ($pmwiki1) ...
> if ($pmwiki2) ...
I would do it with the a preg_match of $Version.
$pmwikiver = $match;
I don't have any plans at the moment to provide more than $Version
More information about the pmwiki-users