We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d8c7665 + bc4fc03 commit cb3a01aCopy full SHA for cb3a01a
app.php
@@ -8,6 +8,7 @@
8
preg_match('/^127\.0\.0\.1.*/', $_SERVER['HTTP_HOST'])
9
or preg_match('/^localhost.*/', $_SERVER['HTTP_HOST'])
10
or preg_match('/^.*\.dev$/', $_SERVER['HTTP_HOST'])
11
+ or preg_match('/^dev\..*$/', $_SERVER['HTTP_HOST'])
12
13
) ? 'development' : 'production');
14
0 commit comments