Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

suppress notices on empty mysql password

  • Loading branch information...
commit f7825d9d1dd29ac90a90f17b2802e4bbe816dab1 1 parent 4803503
Aaron Parecki authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mysql_keycache.php
2  mysql_keycache.php
@@ -83,7 +83,7 @@ function d()
83 83 } else {
84 84 $PDO_HOST = $_SERVER['pdo_host'];
85 85 $PDO_USER = $_SERVER['pdo_user'];
86   - $PDO_PASS = $_SERVER['pdo_pass'];
  86 + $PDO_PASS = @$_SERVER['pdo_pass'];
87 87 }
88 88
89 89 $PDO_DSN = 'mysql:dbname=information_schema;host=' . $PDO_HOST;

0 comments on commit f7825d9

Please sign in to comment.
Something went wrong with that request. Please try again.