diff options
| author | Uwe.Tews@googlemail.com <Uwe.Tews@googlemail.com> | 2013-07-15 18:18:28 +0000 |
|---|---|---|
| committer | Uwe.Tews@googlemail.com <Uwe.Tews@googlemail.com> | 2013-07-15 18:18:28 +0000 |
| commit | 584886cb1ce588320e22b90702b2dd9473bf4270 (patch) | |
| tree | 5676a8aa792107d92de461e04e47595153a19d42 /demo/plugins/cacheresource.mysql.php | |
| parent | 00ccae885723520147ae79549b95af9ef11ada98 (diff) | |
| download | smarty-584886cb1ce588320e22b90702b2dd9473bf4270.tar.gz smarty-584886cb1ce588320e22b90702b2dd9473bf4270.tar.bz2 smarty-584886cb1ce588320e22b90702b2dd9473bf4270.zip | |
- update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
Diffstat (limited to 'demo/plugins/cacheresource.mysql.php')
| -rw-r--r-- | demo/plugins/cacheresource.mysql.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/plugins/cacheresource.mysql.php b/demo/plugins/cacheresource.mysql.php index 29a24176..73771e7b 100644 --- a/demo/plugins/cacheresource.mysql.php +++ b/demo/plugins/cacheresource.mysql.php @@ -35,7 +35,7 @@ class Smarty_CacheResource_Mysql extends Smarty_CacheResource_Custom public function __construct() { try { - $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty", "smarty"); + $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty"); } catch (PDOException $e) { throw new SmartyException('Mysql Resource failed: ' . $e->getMessage()); } |
