mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge branch 'develop' of github.com:octobercms/october into develop
This commit is contained in:
commit
919cb83f96
@ -4,6 +4,8 @@ Thank you for your contributions!
|
||||
|
||||
## Reporting a bug with OctoberCMS
|
||||
|
||||
**Please don't use the main Github for reporting bugs with plugins.** If you have found a bug in a plugin, the best place to report it is with the [plugin author](http://octobercms.com/plugins).
|
||||
|
||||
We work hard to process bugs that are reported, to assist with this please ensure the following details are always included:
|
||||
|
||||
- **Bug summary**: Make sure your summary reflects what the problem is and where it is.
|
||||
|
@ -25,7 +25,7 @@ $app = new Illuminate\Foundation\Application;
|
||||
*/
|
||||
|
||||
$env = $app->detectEnvironment(function () {
|
||||
return isset($_SERVER['CMS_ENV']) ? $_SERVER['CMS_ENV'] : 'production';
|
||||
return getenv('CMS_ENV') ?: 'production';
|
||||
});
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user