summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-01 15:31:16 +0300
committerAndrew Dolgov <[email protected]>2017-12-01 15:31:16 +0300
commitc39ee27235c04d868c8afda1843ee21ccb1d0c18 (patch)
tree181982e4dc46314d618c70f98b0c20eca5689a4c /classes/handler.php
parentd068111a37cb9cc2454c0347f89537e2a2de429c (diff)
article: start pdo
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/handler.php b/classes/handler.php
index 16c209607..483b573e3 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -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;
}