diff options
author | Andrew Dolgov <[email protected]> | 2012-09-14 02:52:49 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-14 02:52:49 +0400 |
commit | 1835f145a8f4d450e33b15faf7d50437731a8793 (patch) | |
tree | bf02779a1f7c13b029807e87dffbe35fa72f5743 /classes/pref | |
parent | 7ac3f735e1e5b7474e19bd55f1d25abe052b8aaa (diff) |
only enable OTPHP on php version 5.3+
Diffstat (limited to 'classes/pref')
-rw-r--r-- | classes/pref/prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index e9f420774..f4a663dbd 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -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>"; |