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

111 Commits

Author SHA1 Message Date
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
PheRum
5bf945b7fb Added missing $_SERVER variables for Basic Driver 2017-05-15 21:05:25 +03: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
Taylor Otwell
82e1d96be1 remove ide hint 2016-05-12 21:17:49 -05:00
Daniel Morris
fe6fb947f7 Consistency changes (#60)
* Correct the return type annotation in a serves method

* Type-hint the driver in the abstract ValetDriver

* Correct the return type-hint in the sample ValetDriver

* Remove the return afrom the restartLinkedPhp method

* Remove the return annotation from the Caddy constructor

* Remove the return annotation from the Valet configuration constructor

* Removed the return from the prependPath method of the Configuration class

* Removed the return from the appendAsUser method of the Filesystem class

* Removed the return annotation from the Site constructor

* Corrected the parameter annotation of the link method in the Site class

* Order use statements by length in PhpFpm

* Remove the return annotation from the Valet constructor
2016-05-12 21:17:32 -05: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