setPainter ($painter); $install->run (); $text .= $this->outputTest ('Required', $install->getStringResult ()); unset ($install); } { $installonly = new Tester_InstallOnly (); $installonly->setPainter ($painter); $installonly->run (); $text .= $this->outputTest ('Required during installation only', $installonly->getStringResult ()); unset ($installonly); } { $cron = new Tester_Cron (); $cron->setPainter ($painter); $cron->run (); $text .= $this->outputTest ('Required during scheduled updates', $cron->getStringResult ()); unset ($cron); } echo $this->outputHtml ($text); } private function outputHtml ($text) { $base_dir = dirname ($_SERVER ['REQUEST_URI']); if ('/' == $base_dir) { $base_dir = ''; } $s = << Checking requirments :: Setup

Checking requirments

Your server has been tested for RMS compatibility.

If fatal errors (RED colored) are found the RMS installation could not be started.

$text
html; return $s; } private function outputTest ($heading, $text) { $s = <<

{$heading}

{$text} html; return $s; } } $diagnostics = new StandaloneDiagnostics (); $diagnostics->run ();