mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Update demo_mode.php
This commit is contained in:
parent
e0e2abffe7
commit
a91aabd574
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ foreach ($sql_dump as $line) {
|
|||
$temp_line .= $line;
|
||||
if (str_ends_with(trim($line), ';')) {
|
||||
if (!DB()->query($temp_line)) {
|
||||
$cron_runtime_log = date('Y-m-d H:i:s') . "Error performing query: " . $temp_line . " | " . DB()->sql_error()['message'];
|
||||
$cron_runtime_log = date('Y-m-d H:i:s') . " -- Error performing query: " . $temp_line . " | " . DB()->sql_error()['message'] . "\n";
|
||||
}
|
||||
$temp_line = '';
|
||||
}
|
||||
}
|
||||
|
||||
$cron_runtime_log = date('Y-m-d H:i:s') . " -- Tables imported successfully!";
|
||||
$cron_runtime_log = date('Y-m-d H:i:s') . " -- Tables imported successfully!\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue