1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Martin Leveille
49173c0c40 Check if index.php exists in the localized folder 2018-03-25 12:02:16 -04:00
Andrew Welch
cc0e4922f6 Smarter frontControllerDirectory method
The previous method simply returned `web` if there was a file named `craft` in the $sitePath (which means we’re running Craft 3).

The problem is that many sites, especially upgraded ones, will be serving out of `public`. This is also in line with the default Forge/ServerPilot default dirs.

So we test to see if either `/web` or `/public` exist, and return them if so. Otherwise default to the current method.

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
2018-02-01 13:12:03 -05:00
Martin Leveille
2227945543 Fix hard coded front controller directory for Craft 2017-09-17 09:20:48 -04:00
Erik Weber
c8c1a52c3b Add $_SERVER['DOCUMENT_ROOT'] to CraftValetDriver 2017-08-07 09:52:50 +02:00
Scott Wakefield
e449472771 Make variable names consistent 2017-02-02 15:51:43 +00:00
Scott Wakefield
7e93a8b679 Add support for Craft 3 Beta 2017-02-02 15:44:12 +00:00
M. Mikkel Rummelhoff
9c8f5de52a Fixes issue #244, where the Craft CMS admin panel is inaccessible (#252) 2016-12-14 14:12:19 -06:00
M. Mikkel Rummelhoff
10b7e64d89 Adds multi-locale support to the Craft CMS driver (#229) 2016-12-08 16:18:12 -06:00
Taylor Otwell
d9050a0ea6 fix env configs with craft 2016-05-12 16:37:10 -05:00
Taylor Otwell
3fbec25a12 tweak craft driver 2016-05-12 16:27:36 -05:00
Kennedy Tedesco
29dafe848c Move isActualFile() to ValetDriver 2016-05-10 14:43:38 -03:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00