$isDakar = (defined $TWiki::RELEASE)?1:0;
if ($isDakar) {
$isBeijing = 0;
$isCairo = 0;
} else {
my $wikiVersion = $TWiki::wikiversion;
if ($wikiVersion =~ /^01 Feb 2003/) {
$isBeijing = 1; # beijing
$isCairo = 0;
} else {
$isBeijing = 0; # cairo
$isCairo = 1;
}
}
From IfDefinedPlugin
-- Contributors: MeredithLesly
$TWiki::Plugins::VERSION is the authoritative entity for Plugin to determine the TWiki version. For what is above listed code needed?
-- PeterThoeny - 06 Mar 2006
| BasicForm | |
|---|---|
| TopicClassification | Select one... |
| TopicSummary | |
| InterestedParties | |
| RelatedTopics | |