blob: bebc93e15f370696277766cd34108545df50c77c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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');
|