mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fixed install instructions not appearing when wrong SQL info is submitted.
This commit is contained in:
parent
f3dfe83153
commit
ff29e40256
@ -196,7 +196,7 @@ CREATE TABLE IF NOT EXISTS `znote_forum_posts` (
|
|||||||
|
|
||||||
$connect = new mysqli($config['sqlHost'], $config['sqlUser'], $config['sqlPassword'], $config['sqlDatabase']);
|
$connect = new mysqli($config['sqlHost'], $config['sqlUser'], $config['sqlPassword'], $config['sqlDatabase']);
|
||||||
if ($connect->connect_errno) {
|
if ($connect->connect_errno) {
|
||||||
echo "Failed to connect to MySQL: (" . $connect->connect_errno . ") " . $connect->connect_error . $install;
|
die("Failed to connect to MySQL: (" . $connect->connect_errno . ") " . $connect->connect_error . $install);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mysql_real_escape_string($escapestr) {
|
function mysql_real_escape_string($escapestr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user