Minor updates
This commit is contained in:
parent
2e07b08016
commit
fd8e56dd98
@ -1,6 +1,7 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct script access.');
|
<?php defined('SYSPATH') or die('No direct script access.');
|
||||||
|
|
||||||
// -- Environment setup --------------------------------------------------------
|
// -- Environment setup --------------------------------------------------------
|
||||||
|
$SERVER_NAME = 'penguin.au.ibm.com';
|
||||||
|
|
||||||
// Load the core Kohana class
|
// Load the core Kohana class
|
||||||
require SYSPATH.'classes/Kohana/Core'.EXT;
|
require SYSPATH.'classes/Kohana/Core'.EXT;
|
||||||
@ -73,7 +74,7 @@ I18n::lang('en-us');
|
|||||||
/**
|
/**
|
||||||
* Set the environment status by the domain.
|
* 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']))
|
if (isset($_SERVER['KOHANA_ENV']))
|
||||||
{
|
{
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit b657781a5b52316e6531638f2e89ae4db2543fe5
|
Subproject commit 848da1587213d74ae1fafd24361da4abed82ba60
|
Loading…
Reference in New Issue
Block a user