update version check to 2.7

This commit is contained in:
Jacob Salmela
2016-06-10 18:39:10 -05:00
parent 3f66e9015a
commit c75f167392
+3 -3
View File
@@ -52,8 +52,8 @@ $.getJSON("https://api.github.com/repos/pi-hole/AdminLTE/releases/latest", funct
});
/*
* Make sure that Pi-hole is updated to at least v2.6.4, since that is needed to use the sudo
* Make sure that Pi-hole is updated to at least v2.7, since that is needed to use the sudo
* features of the interface
*/
if(versionCompare(piholeVersion, "v2.6.4") < 0)
alert("Pi-hole needs to be updated to at least v2.6.4 before you can use features such as whitelisting/blacklisting from this web interface!")
if(versionCompare(piholeVersion, "v2.7") < 0)
alert("Pi-hole needs to be updated to at least v2.7 before you can use features such as whitelisting/blacklisting from this web interface!")