dm/flexilang — pull request #1 by arteymix (2013-12-24 21:42:28+00:00)
Title: Fixes a bug with uninitialized Lang::$config when looking for a default lang.

Lang::$config could be uninitialized when looking for the default lang. It is better to call Lang::config().