mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
15b1c0d321
commit
abb69599cf
1 changed files with 2 additions and 2 deletions
|
@ -84,9 +84,9 @@ if ($_POST['createTables'] > 0) {
|
|||
// If it has a semicolon at the end, it's the end of the query
|
||||
if (substr(trim($line), -1, 1) == ';') {
|
||||
// Perform the query
|
||||
error_log("Installation: ".$templine);
|
||||
//error_log("Installation: ".$templine);
|
||||
if (!$mysqli->query($templine)) {
|
||||
error_log("Installation: ".$mysqli->error);
|
||||
error_log("Installation: SQL ERROR ".$mysqli->error);
|
||||
$obj->error = ('Error performing query \'<strong>' . $templine . '\': ' . $mysqli->error . '<br /><br />');
|
||||
}
|
||||
// Reset temp variable to empty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue