X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fsystem_tests.inc;h=1e8881a164842600a784819921764d8c41703134;hb=26c3aa914a802dab194638f7750e5b486beedb0f;hp=883ee038d1b2e8a1174d2e3b41945b6371be6a99;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/includes/system_tests.inc b/includes/system_tests.inc index 883ee038..1e8881a1 100644 --- a/includes/system_tests.inc +++ b/includes/system_tests.inc @@ -43,11 +43,11 @@ function tst_phpmysql() function tst_php() { - $test['descr'] = _('PHP version').' >=4.3.3'; + $test['descr'] = _('PHP version').' >=5.0.0'; $test['type'] = 3; $test['test'] = phpversion(); - $test['result'] = $test['test']>='4.3.3'; - $test['comments'] = _('Upgrade PHP to version at least 4.3.3'); + $test['result'] = $test['test']>='5.0.0'; + $test['comments'] = _('Upgrade PHP to version at least 5.0.0'); return $test; } @@ -124,7 +124,7 @@ function tst_debug() $test['descr'] = _('Debugging mode'); $test['type'] = 0; $test['test'] = $SysPrefs->go_debug ? _("Yes") : _("No"); - $test['result'] = $go_debug != 0; + $test['result'] = $SysPrefs->go_debug != 0; $test['comments'] = _('To switch debugging on set $go_debug>0 in config.php file'); return $test; @@ -417,7 +417,7 @@ function display_system_tests($install = false) ); - start_table(TABLESTYLE, "width=80%"); + start_table(TABLESTYLE, "width='80%'"); $th = array(_("Test"), _('Test type'), _("Value"), _("Comments")); table_header($th);