X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fsystem_tests.inc;h=798ef6776539c8251e9bb4a6fd704b972edb2e75;hb=42c0611bc3c12d662001b2e13701e8ad6784bafa;hp=339f085b5c86568ad49dbb8d7b068ae3eb96b7ec;hpb=725f44854c55306bf7f23b25ae1fe23c42c03379;p=fa-stable.git diff --git a/includes/system_tests.inc b/includes/system_tests.inc index 339f085b..798ef677 100644 --- a/includes/system_tests.inc +++ b/includes/system_tests.inc @@ -14,7 +14,7 @@ $test_level = array( 0 => _('Info'), 1 => _('Optional'), - 2 => _('Recomended'), + 2 => _('Recommended'), 3 => _('Required ') ); @@ -34,7 +34,7 @@ function tst_phpmysql() { $test['descr'] = _('PHP MySQL extension'); $test['type'] = 3; - $test['result'] = function_exists('gettext'); + $test['result'] = function_exists('mysql_connect'); $test['test'] = $test['result'] ? _('Yes'): _('No'); $test['comments'] = _('Your PHP has to have MySQL extension enabled.'); @@ -113,7 +113,7 @@ function tst_gettext() $test['test'] = function_exists('gettext') ? _('Yes'): _('No'); $test['type'] = 1; $test['result'] = true; - $test['comments'] = _('In case of no getext support, php emulation is used'); + $test['comments'] = _('In case of no gettext support, php emulation is used'); return $test; }