Skip to content

Commit 964ec7a

Browse files
authored
Merge pull request #1485 from NickSdot/patch-1
fix: Warning: Constant VALET_* already defined in X
2 parents cb1cc54 + 5699f34 commit 964ec7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/**
1010
* Define the user's "~/.config/valet" path.
1111
*/
12-
define('VALET_HOME_PATH', posix_getpwuid(fileowner(__FILE__))['dir'].'/.config/valet');
13-
define('VALET_STATIC_PREFIX', '41c270e4-5535-4daa-b23e-c269744c2f45');
12+
defined('VALET_HOME_PATH') or define('VALET_HOME_PATH', posix_getpwuid(fileowner(__FILE__))['dir'].'/.config/valet');
13+
defined('VALET_STATIC_PREFIX') or define('VALET_STATIC_PREFIX', '41c270e4-5535-4daa-b23e-c269744c2f45');
1414

1515
/**
1616
* Load the Valet configuration.

0 commit comments

Comments
 (0)