Files
pmgr/site/config/database.php
abijah 50eb7c0f5d Merge out from the pre_0.1 branch
git-svn-id: file:///svn-source/pmgr/branches/sandbox_0.1@810 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 20:48:52 +00:00

19 lines
346 B
PHP

<?php
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'pmgr',
'password' => 'pmgruser',
'database' => 'pmgr_sand',
'prefix' => 'pmgr_',
);
function __construct() {
if (sandbox())
$this->default['database'] = 'pmgr_sand';
}
}
?>