1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00

allow updating domain dynamically

This commit is contained in:
Taylor Otwell
2016-05-06 10:03:57 -05:00
parent 6b200d1667
commit c651f2cbc4
5 changed files with 70 additions and 4 deletions

View File

@@ -39,6 +39,10 @@ function show_valet_404()
'.'.$valetConfig['domain']
);
if (strpos($siteName, 'www.') === 0) {
$siteName = substr($siteName, 4);
}
/**
* Determine the fully qualified path to the site.
*/