forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
This commit is contained in:
commit
f128811dd3
4 changed files with 95 additions and 11 deletions
|
@ -69,7 +69,7 @@ function error($message, $priority = true, $debug_stuff = false) {
|
|||
// Running from CLI
|
||||
die('Error: ' . $message . "\n");
|
||||
}
|
||||
|
||||
|
||||
if ($config['debug'] && isset($db_error)) {
|
||||
$debug_stuff = array_combine(array('SQLSTATE', 'Error code', 'Error message'), $db_error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue