Update index.php

change done for error reporting