[Pmwiki-users] pmwiki major version numbers

Knut Alboldt mailing
Sun Sep 26 08:26:44 CDT 2004


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) ...

Again, I know that could be setup in my local config.php, but I'd rather 
think of using this in published cookbook-scripts which are 
version-dependent. then a own configured config.php wouldn't help.

Knut




More information about the pmwiki-users mailing list