summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-11-22 12:50:36 +0100
committerbbaetz%acm.org <>2003-11-22 12:50:36 +0100
commitda857afa089e79ad16fb833dd1ffe397055fd892 (patch)
tree4582f630aa59c35fdb25aa30fd71c617977e0a86 /Bugzilla/DB.pm
parent63790559f094b702688365ed12242526ce3ff969 (diff)
downloadbugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.gz
bugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.xz
Bug 208604 - Make data/template dir locations configurable
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r--Bugzilla/DB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 1d2e96614..a747aebd6 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -135,9 +135,9 @@ sub connect_shadow {
}
sub connect_main {
- my $dsn = "DBI:mysql:host=$::db_host;database=$::db_name;port=$::db_port";
+ my $dsn = "DBI:mysql:host=$db_host;database=$db_name;port=$db_port";
- $dsn .= ";mysql_socket=$::db_sock" if $::db_sock;
+ $dsn .= ";mysql_socket=$db_sock" if $db_sock;
return _connect($dsn);
}