Tags:
dev_essential1Add my vote for this tag development1Add my vote for this tag create new tag
, view all tags
  $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

Discussion

This needs to be in:

TWiki::Func::twikiVersion()

or similar

-- MartinCleaver - 04 Mar 2006

The $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

 
Topic revision: r3 - 2006-03-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.