Files
snipe-it/docker/app_start.patch
T
Ira W. Snyder 1927f131aa Fix broken Docker build
The Dockerfile now includes the php5-curl package, which is needed to
satisfy a missing dependency.

The docker/app_start.patch was updated to match changes to the source
code.
2015-08-26 14:09:03 -07:00

20 lines
607 B
Diff

diff --git a/bootstrap/start.php b/bootstrap/start.php
index b7862c418dc3..10368dad43bb 100755
--- a/bootstrap/start.php
+++ b/bootstrap/start.php
@@ -24,11 +24,9 @@ $app = new Illuminate\Foundation\Application;
|
*/
-$env = $app->detectEnvironment(array(
- 'local' => array('homestead','AlisonMBP'),
- 'staging' => array('stagingweb01'),
- 'production' => array('www.yourserver.com')
-));
+$env = $app->detectEnvironment(function () {
+ return "production"; //always be 'production' as environment
+});
/*
|--------------------------------------------------------------------------