Bug fixes to work with lunarpages

git-svn-id: file:///svn-source/pmgr/branches/hosted_migration_20130215@1023 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
Abijah
2013-02-15 21:04:41 +00:00
parent 4d24428a19
commit 26559f3c59
5 changed files with 11 additions and 31 deletions

View File

@@ -7,15 +7,15 @@ class DATABASE_CONFIG {
'host' => 'localhost',
'login' => 'perki2_pmgruser',
'password' => 'pmgrauth',
'database' => 'pmgr',
'database' => 'perki2_pmgr',
'prefix' => '',
);
function __construct() {
if (devbox())
$this->default['database'] = 'pmgr_dev';
$this->default['database'] = 'perki2_pmgr_dev';
if (sandbox())
$this->default['database'] = 'pmgr_sand';
$this->default['database'] = 'perki2_pmgr_sand';
}
}
?>