1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

only enable OTPHP on php version 5.3+

This commit is contained in:
Andrew Dolgov
2012-09-14 02:52:49 +04:00
parent 7ac3f735e1
commit 1835f145a8
2 changed files with 2 additions and 2 deletions

View File

@@ -258,7 +258,7 @@ class Pref_Prefs extends Handler_Protected {
print "</form>";
if ($_SESSION["auth_module"] == "internal") {
if (version_compare(PHP_VERSION, '5.3.0') >= 0 && $_SESSION["auth_module"] == "internal") {
print "<h2>" . __("One time passwords / Authenticator") . "</h2>";