fix mixed indentation - http://bit.ly/1nD9iAa
don't close php tag in code-only files
remove more hardcoded php config - use your system php.ini instead