Commit 08b2b626 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Include the script name in the mysql connect so that the log file

indicates who made the query (more or less, of course).
parent a73c3f16
......@@ -1282,7 +1282,7 @@ function TBIPtoNodeID($ip) {
$maxtries = 3;
$DBlinkid = 0;
while ($maxtries) {
$DBlinkid = mysql_connect();
$DBlinkid = mysql_connect("localhost", basename($SCRIPT_NAME));
if ($DBlinkid) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment