updating installer
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
$password=htmlspecialchars($_POST["password"]);
|
$password=htmlspecialchars($_POST["password"]);
|
||||||
$permissions="1111111111";
|
$permissions="1111111111";
|
||||||
// Create connection
|
// Create connection
|
||||||
$conn = new mysqli($servername, $username, $password);
|
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD,$DB_DATABASE);
|
||||||
|
|
||||||
// Check connection
|
// Check connection
|
||||||
if ($conn->connect_error) {
|
if ($conn->connect_error) {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ if ($conn->query($sql) === TRUE) {
|
|||||||
$conn->close();
|
$conn->close();
|
||||||
|
|
||||||
// Connect to the new database
|
// Connect to the new database
|
||||||
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD);
|
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD,$DB_DATABASE);
|
||||||
|
|
||||||
// Check connection
|
// Check connection
|
||||||
if ($conn->connect_error) {
|
if ($conn->connect_error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user