Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- {
- $pdo_username = $this->getParameter('username');
- $pdo_password = $this->getParameter('password');
- $this->connection = new PDO($dsn, $pdo_username, $pdo_password);
- }
- catch (PDOException $e)
- {
- throw new sfDatabaseException($e->getMessage());
- }
Add Comment
Please, Sign In to add comment