Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[Solved] SS version number


Reply

3 Posts   1054 Views

Avatar
Mo

5 October 2009 at 9:38am (Last edited: 6 October 2009 12:50am), Community Member, 509 Posts

Hi All,

I was wondering if there is a global variable/Constant etc. that contains the current Silverstripe version number?

Cheers,

Mo

Avatar
Martijn

5 October 2009 at 10:17am Community Member, 271 Posts

function CMSVersion(){
      return LeftAndMain::CMSVersion();
   }

Avatar
Mo

5 October 2009 at 10:33am Community Member, 509 Posts

That is exactly what I was after!!

Cheers :).