mirror of
https://github.com/Karaka-Management/oms-Tools.git
synced 2026-01-10 14:48:43 +00:00
fix db handling
This commit is contained in:
parent
bdb9dbf7c2
commit
99286f8c0e
|
|
@ -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('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());
|
||||
|
||||
$GLOBALS['frameworkpath'] = '/phpOMS/';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user