Skip to content

Commit

Permalink
Fixed PDO namespace bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonRider23 committed Aug 22, 2015
1 parent d73836f commit c1568b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
break;
}

$conn = new PDO($db_connect, $config['db']['username'], $config['db']['password']);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$conn = new \PDO($db_connect, $config['db']['username'], $config['db']['password']);
$conn->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);

$sql = file_get_contents(__DIR__."/base_{$config['db']['type']}_db.sql");

Expand Down

0 comments on commit c1568b2

Please sign in to comment.