Guest User

Untitled

a guest
May 25th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. try
  2. {
  3. $pdo_username = $this->getParameter('username');
  4. $pdo_password = $this->getParameter('password');
  5.  
  6. $this->connection = new PDO($dsn, $pdo_username, $pdo_password);
  7. }
  8. catch (PDOException $e)
  9. {
  10. throw new sfDatabaseException($e->getMessage());
  11. }
Add Comment
Please, Sign In to add comment