Matt Weinberg mrw

View ExpressionEngine 2 Multi-Database Setup.php
1 2 3 4 5 6 7 8 9
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
// Multiple if statements, or a switch statement,
// can handle as many environments as you need
if ($_SERVER['HTTP_HOST'] == "local-site.dev") {
$active_group = 'expressionengine';
} else {
$active_group = 'enginehosting';
}
Something went wrong with that request. Please try again.