Example #1
0
 public function __construct(Config $config, Sql $sql)
 {
     try {
         parent::__construct($config, $sql);
     } catch (\PDOException $e) {
         $this->exchangeArray(array('table.core_approval' => $this->config['amun_table_prefix'] . 'core_approval', 'table.core_approval_record' => $this->config['amun_table_prefix'] . 'core_approval_record', 'table.core_event' => $this->config['amun_table_prefix'] . 'core_event', 'table.core_event_listener' => $this->config['amun_table_prefix'] . 'core_event_listener', 'table.core_registry' => $this->config['amun_table_prefix'] . 'core_registry', 'table.core_service' => $this->config['amun_table_prefix'] . 'core_service', 'core.default_timezone' => new DateTimeZone('UTC')));
     }
 }