Files
pmgr/site/config/database.php
Abijah 26559f3c59 Bug fixes to work with lunarpages
git-svn-id: file:///svn-source/pmgr/branches/hosted_migration_20130215@1023 97e9348a-65ac-dc4b-aefc-98561f571b83
2013-02-15 21:04:41 +00:00

21 lines
430 B
PHP

<?php
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'perki2_pmgruser',
'password' => 'pmgrauth',
'database' => 'perki2_pmgr',
'prefix' => '',
);
function __construct() {
if (devbox())
$this->default['database'] = 'perki2_pmgr_dev';
if (sandbox())
$this->default['database'] = 'perki2_pmgr_sand';
}
}
?>