Commit e12b554c authored by Taylor Otwell's avatar Taylor Otwell

cleaning up.

parent d9c0dc0c
...@@ -149,16 +149,18 @@ Request::$foundation = RequestFoundation::createFromGlobals(); ...@@ -149,16 +149,18 @@ Request::$foundation = RequestFoundation::createFromGlobals();
| |
| Next we're ready to determine the application environment. This may be | Next we're ready to determine the application environment. This may be
| set either via the command line options or via the mapping of URIs to | set either via the command line options or via the mapping of URIs to
| environments that lives in the "paths.php" file for the application and | environments that lives in the "paths.php" file for the application
| is parsed. When determining the CLI environment, the "--env" CLI option | and is parsed. When determining the CLI environment, the "--env"
| overrides the mapping in "paths.php". | CLI option overrides the mapping in "paths.php".
| |
*/ */
if (Request::cli()) if (Request::cli())
{ {
$environment = get_cli_option('env'); $environment = get_cli_option('env');
if (! isset($environment)) { if ( ! isset($environment))
{
$environment = Request::detect_env($environments, gethostname()); $environment = Request::detect_env($environments, gethostname());
} }
} }
......
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
- Overall improvement of Postgres support. - Overall improvement of Postgres support.
- Fix issue in SQL Server Schema grammar. - Fix issue in SQL Server Schema grammar.
- Fix issue with eager loading and `first` or `find`.
- Fix bug causing parameters to not be passed to `IoC::resolve`.
- Allow the specification of hostnames in environment setup.
<a name="upgrade-3.2.2"></a> <a name="upgrade-3.2.2"></a>
## Upgrading From 3.2.1 ## Upgrading From 3.2.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment