GetSimple version - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8) +--- Thread: GetSimple version (/showthread.php?tid=1511) |
GetSimple version - mvlcek - 2011-04-02 What is the best method for a plugin to find out, if it's running in GetSimple 3.0 or lower? Maybe the best way, but you need to define a function (and pollute the name space): Code: function myplugin_isV3() { Fast method working only in the front-end: Code: $isV3 = function_exists('get_site_version'); Fast method in the back-end? BTW: in Extend I would like to see a version option "2.03 + 3.0". |