&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 file_put_contents(FCPATH."is_installed", "true"); 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" ." - the database will be set up automatically\n" ); }