Permalink
Browse files

suppress notices on empty mysql password

  • Loading branch information...
1 parent 4803503 commit f7825d9d1dd29ac90a90f17b2802e4bbe816dab1 @aaronpk committed Jul 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mysql_keycache.php
View
@@ -83,7 +83,7 @@ function d()
} else {
$PDO_HOST = $_SERVER['pdo_host'];
$PDO_USER = $_SERVER['pdo_user'];
- $PDO_PASS = $_SERVER['pdo_pass'];
+ $PDO_PASS = @$_SERVER['pdo_pass'];
}
$PDO_DSN = 'mysql:dbname=information_schema;host=' . $PDO_HOST;

0 comments on commit f7825d9

Please sign in to comment.