Skip to content

Commit cb3a01a

Browse files
committed
Merge pull request #3 from nashjain/patch-1
Treat dev.mysite.com as dev env
2 parents d8c7665 + bc4fc03 commit cb3a01a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.php

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
preg_match('/^127\.0\.0\.1.*/', $_SERVER['HTTP_HOST'])
99
or preg_match('/^localhost.*/', $_SERVER['HTTP_HOST'])
1010
or preg_match('/^.*\.dev$/', $_SERVER['HTTP_HOST'])
11+
or preg_match('/^dev\..*$/', $_SERVER['HTTP_HOST'])
1112

1213
) ? 'development' : 'production');
1314

0 commit comments

Comments
 (0)