[ticket/12326] Correctly format update/index.php and remove php closing tag

PHPBB3-12326