summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-06-02 19:12:16 (GMT)
committerBob Igo <bob@stormlogic.com>2009-06-02 19:12:16 (GMT)
commit534051ae790d73188e5c49e633e575acc8498682 (patch)
treebfe714df49f06550ffdcbdf8cbf742e91816398f /abs/core-testing/mythtv/stable
parentc6b0802f9cd9e6986af3fc8aab86410b73cccc59 (diff)
downloadlinhes_pkgbuild-534051ae790d73188e5c49e633e575acc8498682.zip
linhes_pkgbuild-534051ae790d73188e5c49e633e575acc8498682.tar.gz
linhes_pkgbuild-534051ae790d73188e5c49e633e575acc8498682.tar.bz2
Implement Truck Jackson's fix for FS#140
Diffstat (limited to 'abs/core-testing/mythtv/stable')
-rw-r--r--abs/core-testing/mythtv/stable/mythweb/patch/mythweb.pl.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/stable/mythweb/patch/mythweb.pl.diff b/abs/core-testing/mythtv/stable/mythweb/patch/mythweb.pl.diff
new file mode 100644
index 0000000..6dcbf99
--- /dev/null
+++ b/abs/core-testing/mythtv/stable/mythweb/patch/mythweb.pl.diff
@@ -0,0 +1,23 @@
+*** mythweb-unpatched.pl 2009-06-02 14:55:24.011861459 -0400
+--- mythweb.pl 2009-06-02 14:56:24.386441304 -0400
+***************
+*** 49,57 ****
+
+ # Connect to the database
+ END { $dbh->disconnect() if ($dbh); }
+! our $dbh = DBI->connect("dbi:mysql:database=$ENV{'db_name'}:host=$ENV{'db_server'}",
+! $ENV{'db_login'},
+! $ENV{'db_password'});
+ unless ($dbh) {
+ print header(),
+ "Cannot connect to database: $!\n\n";
+--- 49,57 ----
+
+ # Connect to the database
+ END { $dbh->disconnect() if ($dbh); }
+! our $dbh = DBI->connect("dbi:mysql:database=$ENV{'DB_NAME'}:host=$ENV{'DB_SERVER'}",
+! $ENV{'DB_LOGIN'},
+! $ENV{'DB_PASSWORD'});
+ unless ($dbh) {
+ print header(),
+ "Cannot connect to database: $!\n\n";