function __construct() { global $CONFIG; $this->dump_file = $CONFIG->dataroot . 'test7.db'; try { parent::__construct($this->dump_file); $this->create(); } catch (PDOException $e) { register_error($this->message); } }
function __construct() { global $CONFIG; try { parent::__construct($CONFIG->dataroot . 'izap_queue_db/queue.db'); $this->setup(); } catch (PDOException $e) { register_error(elgg_echo("izap_videos:error:sqliteDrivers")); izapAdminSettings_izap_videos('izapVideoOptions', array('OFFSERVER', 'EMBED'), TRUE); izapAdminSettings_izap_videos('izap_cron_time', 'none', TRUE); } }