Collection of simple helper methods for testing site configuration

package midcom

 Methods

check_for_utility ($testname, $fail_code, $fail_recommendations, $ok_notice)

Parameters

$testname

$fail_code

$fail_recommendations

$ok_notice

check_midcom ()

check_php ()

ini_get_boolean ($setting)

Parameters

$setting

ini_get_filesize ($setting)

Parameters

$setting

print_header ($heading)

Parameters

$heading

println ($testname, $result_code, $recommendations)

Parameters

$testname

$result_code

$recommendations

_check_rcs ()

 Constants

 

ERROR

 

OK

 

WARNING