Use the new check_php_version function everywhere
[squirrelmail.git] / plugins / squirrelspell / sqspell_config.php
index 8d2fedce8c11d45774a62cdb630ba693f939eb50..6bd24bcceb4c8be8abc24b1657e053bdc1f6fd8b 100644 (file)
@@ -15,7 +15,7 @@ require_once(SM_PATH . 'functions/prefs.php');
 /* Just for poor wretched souls with E_ALL. :) */
 global $data_dir;
 
-if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) {
+if ( !check_php_version(4,1) ) {
     global $_SESSION;
 }