1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

article: start pdo

This commit is contained in:
Andrew Dolgov
2017-12-01 15:31:16 +03:00
parent d068111a37
commit c39ee27235
2 changed files with 82 additions and 63 deletions

View File

@@ -1,10 +1,12 @@
<?php
class Handler implements IHandler {
protected $dbh;
protected $pdo;
protected $args;
function __construct($args) {
$this->dbh = Db::get();
$this->pdo = Db::pdo();
$this->args = $args;
}