Replacing public/index.php