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

Serve static files through Caddy instead of PHP

This commit is contained in:
Adam Wathan
2016-09-24 15:21:06 -04:00
parent 7176c54c31
commit 73a205aa81
5 changed files with 49 additions and 22 deletions

View File

@@ -7,7 +7,7 @@
* Define the ~/.valet path as a constant.
*/
define('VALET_HOME_PATH', $_SERVER['HOME'].'/.valet');
define('VALET_SERVER_PATH', '/server.php');
define('VALET_SERVER_PATH', realpath(__DIR__ . '/../../server.php'));
/**
* Output the given text to the console.