Minor updates

This commit is contained in:
Deon George 2014-08-23 22:38:32 +10:00
parent 2e07b08016
commit fd8e56dd98
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<?php defined('SYSPATH') or die('No direct script access.');
// -- Environment setup --------------------------------------------------------
$SERVER_NAME = 'penguin.au.ibm.com';
// Load the core Kohana class
require SYSPATH.'classes/Kohana/Core'.EXT;
@ -73,7 +74,7 @@ I18n::lang('en-us');
/**
* Set the environment status by the domain.
*/
Kohana::$environment = (isset($_SERVER['SERVER_NAME']) AND ($_SERVER['SERVER_NAME'] === 'photo.leenooks.vpn')) ? Kohana::PRODUCTION : Kohana::DEVELOPMENT;
Kohana::$environment = (isset($_SERVER['SERVER_NAME']) AND ($_SERVER['SERVER_NAME'] === $SERVER_NAME)) ? Kohana::PRODUCTION : Kohana::DEVELOPMENT;
if (isset($_SERVER['KOHANA_ENV']))
{

@ -1 +1 @@
Subproject commit b657781a5b52316e6531638f2e89ae4db2543fe5
Subproject commit 848da1587213d74ae1fafd24361da4abed82ba60