summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch')
-rwxr-xr-xabs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch b/abs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch
new file mode 100755
index 0000000..bebc93e
--- /dev/null
+++ b/abs/core-testing/mythtv/trunk/mythweb/xris/mythweblighttpd.patch
@@ -0,0 +1,16 @@
+--- init.php.orig 2006-11-23 21:37:13.000000000 +0000
++++ init.php 2006-11-23 21:40:04.000000000 +0000
+@@ -75,7 +75,12 @@
+ custom_error("Please install the MySQL libraries for PHP.\n"
+ .'The package is usually called something like php-mysql.');
+ }
+-
++
++
++// No database connection info defined?
++ if (empty($_SERVER['db_server']) || empty($_SERVER['db_name']) || empty($_SERVER['db_login'])) {
++ require_once 'dblogininit.inc';
++ }
+ // No database connection info defined?
+ if (empty($_SERVER['db_server']) || empty($_SERVER['db_name']) || empty($_SERVER['db_login'])) {
+ tailored_error('db_vars_error');