&1", $buf); ob_end_clean(); if ($buf != "0") { $errors .= " - Error when testing qrencode: Return code was \"$buf\".\n"; } if ($errors != "") { echo nl2br("\n\n"); echo nl2br("Errors occured:\n"); echo nl2br($errors); } else { // TODO: Make this an actual installer echo nl2br("Tests completed.\n" ."The following steps remain:\n" ." - copy the files from ./application/config/example/ to ./application/config/ and edit them to suit your setup\n" ." - import ./db.sql into your database\n" ); }