fix public index.php