Files
pmgr/site/config/database.php
abijah 7bcee943a5 Theme work, and a sandbox function for a consistent point to check whether we're sandboxed or not.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@807 97e9348a-65ac-dc4b-aefc-98561f571b83
2009-08-28 19:57:30 +00:00

19 lines
353 B
PHP

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