Merge in from pre_0.1 branch
git-svn-id: file:///svn-source/pmgr/trunk/site@847 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -10,5 +10,12 @@ class DATABASE_CONFIG {
|
||||
'database' => 'property_manager',
|
||||
'prefix' => 'pmgr_',
|
||||
);
|
||||
|
||||
function __construct() {
|
||||
if (devbox())
|
||||
$this->default['database'] = 'pmgr_dev';
|
||||
if (sandbox())
|
||||
$this->default['database'] = 'pmgr_sand';
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user