using switch instead of more if statement in install/index.php to determine the step
added missing BASEDIR
shortened foreach
indented first element of $check_arr
fopen+fwrite+fclose replaced with file_put_contents in installer
fopen+fclose replaced with touch in installer
removed duplicate assignment
the installer uses dbconnect and connects only ones
implement an own mysql_set_charset is not needed anymore