Пример #1
0
 public function dbAAA2()
 {
     Doo::loadCore('db/DooSqlMagic');
     $dbAAA = new DooSqlMagic();
     $dbAAA->setDb(Doo::conf()->db_aaa2, Doo::conf()->APP_MODE);
     $dbAAA->connect();
     return $dbAAA;
 }
Пример #2
0
 public function dbW()
 {
     Doo::loadCore('db/DooSqlMagic');
     $dbW = new DooSqlMagic();
     $dbW->setDb(Doo::conf()->db_write, Doo::conf()->APP_MODE);
     $dbW->connect();
     return $dbW;
 }