projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed Logical Bug in Customer Balances Report.
[fa-stable.git]
/
includes
/
system_tests.inc
diff --git
a/includes/system_tests.inc
b/includes/system_tests.inc
index dca83e51c4858245c54fcc536d815769cd76ab6b..1e8881a164842600a784819921764d8c41703134 100644
(file)
--- a/
includes/system_tests.inc
+++ b/
includes/system_tests.inc
@@
-43,11
+43,11
@@
function tst_phpmysql()
function tst_php()
{
function tst_php()
{
- $test['descr'] = _('PHP version').' >=
4.3.3
';
+ $test['descr'] = _('PHP version').' >=
5.0.0
';
$test['type'] = 3;
$test['test'] = phpversion();
$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;
}
return $test;
}
@@
-120,11
+120,11
@@
function tst_gettext()
function tst_debug()
{
function tst_debug()
{
- global $
go_debug
;
+ global $
SysPrefs
;
$test['descr'] = _('Debugging mode');
$test['type'] = 0;
$test['descr'] = _('Debugging mode');
$test['type'] = 0;
- $test['test'] = $go_debug ? _("Yes") : _("No");
- $test['result'] = $go_debug != 0;
+ $test['test'] = $
SysPrefs->
go_debug ? _("Yes") : _("No");
+ $test['result'] = $
SysPrefs->
go_debug != 0;
$test['comments'] = _('To switch debugging on set $go_debug>0 in config.php file');
return $test;
$test['comments'] = _('To switch debugging on set $go_debug>0 in config.php file');
return $test;
@@
-132,8
+132,9
@@
function tst_debug()
function tst_logging()
{
function tst_logging()
{
- global $
error_logfile
;
+ global $
SysPrefs
;
+ $error_logfile = $SysPrefs->error_logfile;
$test['descr'] = _('Error logging');
$test['type'] = 2;
// if error lgging is on, but log file does not exists try write
$test['descr'] = _('Error logging');
$test['type'] = 2;
// if error lgging is on, but log file does not exists try write
@@
-416,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);
$th = array(_("Test"), _('Test type'), _("Value"), _("Comments"));
table_header($th);