mirror of
https://github.com/Karaka-Management/oms-Contact.git
synced 2026-01-11 16:18:42 +00:00
fix db handling
This commit is contained in:
parent
7a5b254db8
commit
2e0dcdd2e3
|
|
@ -349,13 +349,6 @@ $GLOBALS['dbpool']->create('update', $CONFIG['db']['core']['masters']['update'])
|
||||||
$GLOBALS['dbpool']->create('delete', $CONFIG['db']['core']['masters']['delete']);
|
$GLOBALS['dbpool']->create('delete', $CONFIG['db']['core']['masters']['delete']);
|
||||||
$GLOBALS['dbpool']->create('schema', $CONFIG['db']['core']['masters']['schema']);
|
$GLOBALS['dbpool']->create('schema', $CONFIG['db']['core']['masters']['schema']);
|
||||||
|
|
||||||
$GLOBALS['dbpool']->get('admin')->connect();
|
|
||||||
$GLOBALS['dbpool']->get('select')->connect();
|
|
||||||
$GLOBALS['dbpool']->get('insert')->connect();
|
|
||||||
$GLOBALS['dbpool']->get('update')->connect();
|
|
||||||
$GLOBALS['dbpool']->get('delete')->connect();
|
|
||||||
$GLOBALS['dbpool']->get('schema')->connect();
|
|
||||||
|
|
||||||
DataMapperFactory::db($GLOBALS['dbpool']->get());
|
DataMapperFactory::db($GLOBALS['dbpool']->get());
|
||||||
|
|
||||||
$GLOBALS['frameworkpath'] = '/phpOMS/';
|
$GLOBALS['frameworkpath'] = '/phpOMS/';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user