supermodlr/kohana-shmvc — pull request #1 by solocommand (2013-03-23 03:44:44+00:00)
Title: Support for unset Kohana $environment, default sub_domain

In init.php, modified call to $_SERVER to use the Kohana::$environment variable that is set by default in the application bootstrap, as a server environment variable will not necessarily be available on all platforms.

Setting a default sub_domain of 'www' allows shmvc to be used on sites running without a subdomain.