https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d3986
)
r752: Fixing a bug that caused installation to fail for those with register_globals...
author
Robert Sesek <rsesek@bluestatic.org>
Mon, 13 Mar 2006 04:56:20 +0000
(
04:56
+0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Mon, 13 Mar 2006 04:56:20 +0000
(
04:56
+0000)
install/global.php
patch
|
blob
|
history
diff --git
a/install/global.php
b/install/global.php
index 2c25e1d7dab674702abbbd32726f99fd8c2abdd3..24a282305624125b32736c44c6fa0f677b810c77 100644
(file)
--- a/
install/global.php
+++ b/
install/global.php
@@
-26,6
+26,7
@@
if (!file_exists('./includes/config.php'))
}
require_once('./includes/config.php');
+$thepass = $password; // darn register_globals
define('ISSO_ESCAPE_STRINGS', 1);
define('ISSO_CHECK_POST_REFERER', 1);
@@
-40,7
+41,7
@@
$bugsys->sourcepath = $bugsys->fetch_sourcepath($pathtoisso);
$bugsys->load('db_mysql');
$db->database = $database;
-$db->connect($servername, $username, $
password
, $usepconnect);
+$db->connect($servername, $username, $
thepass
, $usepconnect);
$bugsys->exec_sanitize_data();