3 Commits

Author SHA1 Message Date
Sam Georges
04bbad320f Fixes #347, Fixes #401 - Allow user routes to be registered before the CMS 2014-07-12 13:16:16 +10:00
Radosław Mejer
a21b12d502 Fix in detecting production env
By default `detectEnvironment()` returns `production` when environment is not detected.

However when `Closure` is passed the value returned by it will be set as environment.  
In this case returning `null` means that Laravel won't recognize any environment. In such situation any `production` configs won't be loaded.
2014-06-20 11:37:47 +02:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00