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
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
Taylor Otwell
e3e3a960e9
tweaks
2016-05-12 16:20:03 -05:00
Taylor Otwell
f46d7cc232
Merge branch 'master' of https://github.com/CSWilson/valet into CSWilson-master
2016-05-12 16:11:50 -05:00
Taylor Otwell
14b46f1861
minor formatting
2016-05-12 16:01:01 -05:00
Evan Mattson
dcb8512c53
correct return value
2016-05-11 00:55:33 -04:00
Evan Mattson
5f82f229b2
update driver location
2016-05-10 23:28:16 -04:00
Evan Mattson
954de429b6
add Bedrock driver
2016-05-10 23:26:45 -04:00
Kennedy Tedesco
29dafe848c
Move isActualFile() to ValetDriver
2016-05-10 14:43:38 -03:00
Christophor Wilson
f955d7a22f
Update ValetDriver.php
...
Added the Joomla driver.
2016-05-10 09:53:58 -06:00
Christophor Wilson
8e19a0764d
Update require.php
...
Added the Joomla driver.
2016-05-10 09:52:52 -06:00
Christophor Wilson
ae95858e28
Create JoomlaValetDriver.php
2016-05-10 09:51:44 -06:00
Taylor Otwell
97f7ae2342
organize better
2016-05-10 08:29:24 -05:00