mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
4cbac88468
commit
d47ddf1e04
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ 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);
|
||||
if (!$mysqli->query($templine)) {
|
||||
$obj->error = ('Error performing query \'<strong>' . $templine . '\': ' . $mysqli->error . '<br /><br />');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue