1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Commit Graph

65 Commits

Author SHA1 Message Date
Martin Leveille
2227945543 Fix hard coded front controller directory for Craft 2017-09-17 09:20:48 -04:00
Adam Wathan
b8fb49ff51 Merge pull request #278 from fschwaiger/master
Add Typo3 and Neos drivers
2017-08-18 09:38:54 -04:00
Adam Wathan
ca4f78d5f8 Merge pull request #402 from gms8994/patch-1
Checks to see if file_exists *and* it's an actual file.
2017-08-09 08:49:02 -04:00
Erik Weber
c8c1a52c3b Add $_SERVER['DOCUMENT_ROOT'] to CraftValetDriver 2017-08-07 09:52:50 +02:00
Glendon Solsberry
9f70e8163f Checks to see if file_exists *and* it's an actual file.
The current check short-circuits too early, allowing the existence of a folder at $uri
to trigger a false positive. This verifies that the file at $uri is actually a file before
returning.
2017-07-18 09:57:41 -04:00
Vic D'Elfant
a0dbae74bf Shortened isset() 2017-06-09 09:46:53 -04:00
Vic D'Elfant
745005dcae Simplified HTTP_HOST rewriting 2017-06-09 09:46:53 -04:00
Vic D'Elfant
dbcbf1edc7 Improved HTTP_HOST rewriting 2017-06-09 09:46:53 -04:00
Steffen Brand
4f383f2d77 Added missing $_SERVER variables for CakePHP 3 2017-06-06 16:30:51 -04:00
Florian Schwaiger
311051fc75 Merge branch 'master' into master 2017-05-23 17:13:13 +02:00
Mario Young
4d49e666a7 Add new Symfony directory structure in driver
This fix #370
2017-05-05 11:44:27 -04:00
Michael Gruschwitz
f4c0c98542 Fix contao driver never gets loaded
The symfony valet driver should not override the contao valet driver.
2017-05-05 10:49:10 -04:00
Joe Constant
bbf7a45f5f Add support for versions path in URLs added in Magento 2.1.3 2017-05-05 10:47:47 -04:00
Joe Constant
953d828afd Add Magento2 driver 2017-05-05 10:47:47 -04: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
Florian Schwaiger
489eb966ad add NeosValetDriver 2017-01-09 23:03:30 -05:00
Florian Schwaiger
dc291419e1 Merge remote-tracking branch 'upstream/master' 2016-12-24 17:07:17 -05:00
Taylor Otwell
42834e2247 use local valet driver as name 2016-12-14 14:57:46 -06:00
Taylor Otwell
26d39ae3ab Merge branch 'master' of https://github.com/jasonvarga/valet into jasonvarga-master 2016-12-14 14:57:00 -06: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
Adam Wathan
c95d923654 Also look for wp-config-sample when detecting WP 2016-12-13 08:21:43 -05:00
Adam Wathan
6727e43288 Use UUID for static asset path instead of "static" 2016-12-12 15:46:09 -05:00
Taylor Otwell
3c3e474d0f Merge branch 'master' into nginx 2016-12-08 16:25:31 -06:00
Korvin Szanto
5134ce20c6 Add a concrete5 driver that provides the environment (#158)
* Add a concrete5 driver that provides the environment

* Use better directory for detection and allow for accessing separate php files
2016-12-08 16:19:00 -06:00
M. Mikkel Rummelhoff
10b7e64d89 Adds multi-locale support to the Craft CMS driver (#229) 2016-12-08 16:18:12 -06:00
Adam Wathan
be89d96078 Send empty Content-Type header to force nginx to determine on it's own 2016-12-08 08:32:22 -05:00
Jason Varga
637d78fd75 Support a SiteValetDriver in the site path 2016-11-15 19:47:03 -05:00
Adam Wathan
41a3d6c18a Explain this disgusting grue 2016-09-28 16:58:13 -04:00
Adam Wathan
22528cebaa Don't even set the INI setting because it doesn't work in 5.6, do this dumb hack instead. 2016-09-28 16:58:13 -04:00
Adam Wathan
3facbef790 Disable default_mimetype with ini_set instead of via config file 2016-09-28 16:58:13 -04:00
Adam Wathan
73a205aa81 Serve static files through Caddy instead of PHP 2016-09-28 16:58:13 -04:00
Adam Wathan
353f24cea8 Set SERVER_NAME variable for WordPress driver
Closes #138
2016-09-24 15:39:32 -04:00
Adam Wathan
3aaacbd64e Revert to serving static files through PHP until Caddy bug resolved 2016-09-24 10:21:35 -04:00
Fredrik Forsmo
5fd2b6a446 Redirect wp/wp-admin to wp/wp-admin/ 2016-09-24 16:06:15 +02:00
Florian Schwaiger
7e550f9920 register typo3 driver 2016-09-22 15:35:17 -04:00
F. Schwaiger
a18c9f9720 refactored and fixed login page on '/typo3' 2016-09-22 15:06:51 -04:00
Andreas Hoffmeyer
711938db93 Adding direct access to installtool and enabling versionNumberInFilename 2016-09-22 11:50:55 +02:00
Florian Schwaiger
c56139e2ca added typo3 driver 2016-09-18 15:56:08 -04:00
Adam Wathan
3409f2998b Working on serving static files through Caddy instead of PHP 2016-08-18 18:54:07 -04:00
Adam Wathan
bf463da7ec Merge pull request #97 from fschwaiger/feature/basic-valet-driver-docroot
Set DOCUMENT_ROOT correctly when serving index.php files.
2016-08-15 21:23:39 -04:00
Adam Wathan
506fd3c6b7 Move Drupal driver 2016-08-08 16:43:00 -04:00
Tristan Payne
58e3c07fe3 Drupal 7 & 8 Driver (#48)
* Add support for Drupal

* Implement more logic to handle Drupal 6, Drupal 7 and Drupal 8

* Additional fixes for Drupal 8 install. Removed note about Drupal 6 since it doesn't work properly beyond PHP 5.3.

* Rewrite front controller check for Drupal 8
2016-07-26 15:09:15 -04:00
Thiery Laverdure
60dc951513 Redirect wp-admin to wp-admin/ (#96)
When attempting to access `wp-admin` unauthenticated, WordPress redirects to `wp-admin` instead of `wp-admin/` which causes issues with all the links in the admin until you add the trailing slash.
2016-07-15 10:44:49 -05:00
Florian Schwaiger
d9adae9d37 Set DOCUMENT_ROOT when serving index.php files. 2016-07-05 21:41:35 +02:00
Philipp Bräutigam
68ff17aa59 Added valet support for Symfony < 3.0 (#87)
* Added valet support for Symfony < 3.0

* Updated condition for Symfony applications
2016-06-27 09:34:36 -05:00
Steve Waag
b0cd7cf373 Convert static file path extension to lowercase 2016-06-17 21:05:48 -07:00
Jan Pingel
3f2ed290c2 Populate SERVER_ADDR to avoid undefined index notices in WordPress (#77) 2016-06-01 09:59:30 -05:00
Lucas Michot
2497122810 Use strict comparisons (#74) 2016-05-27 10:36:50 -05:00
Till Krüss
bd70e15d00 Detect WordPress by configuration file (#65)
WordPress supports being placed in [it's own directory](https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory), but in both setups the `wp-config.php` file will be in the root directory.
2016-05-19 10:38:50 -05:00