Repository navigation
Fixed
-
An
APP_URLwithout a scheme (APP_URL=pollora.test, written by hand in.env) no longer breaks the site: every Artisan command failed withUndefined array key "host", and/wp-admin/answered a 404 because WordPress built its URLs relative to the current path. The value is read ashttp://pollora.testforWP_HOME,WP_SITEURL, the cookie path and the console host (#518) -
The home page of a site served by Valet or Herd no longer redirects to itself. Both run the site through their own
server.php, which includespublic/index.php, soSCRIPT_FILENAMEis not the front controller. Pollora took the request for a WordPress entry point and sent it to the home URL, in an endless loop. A front controller PHP has included now counts as Laravel serving the request -
/cms/wp-admin/, the addresspollora:installprints for the admin, answered a 404 under Valet and Herd, which hand every URL that is not a file to the front controller. A request for apublic/directory that holds anindex.phpis now sent to that file
Added
- Site Health reports an error when the web server serves
.env: MAMP, Apache or nginx pointed at the project folder instead ofpublic/expose the application key and the database password, and answer the site with a 404. The check requests/.envand says to point the document root topublic/ pollora:doctorwarns whenAPP_URLhas no scheme, and gives the value to write