kohana/core — pull request #238 by ThePixelDeveloper (2012-04-11 20:04:24+00:00)
Title: Kohana environment values are illogical

http://dev.kohanaframework.org/issues/4494

Right now the following statement is false:

```
Kohana::DEVELOPMENT < Kohana::PRODUCTION
```

The values should be switched so they make logical sense when being used in an integer comparison.

The change cleans up the following code:

```
if (Kohana::$environment === Kohana::DEVELOPMENT AND
Kohana::$environment === Kohana::TESTING)
```

to

```
if (Kohana::$environment < Kohana::STAGING)
```