sources/database/Db-mysql.class.php 1 location
|
@@ 680-681 (lines=2) @@
|
| 677 |
|
if (allowedTo('admin_forum')) |
| 678 |
|
$context['error_message'] .= '<br /><br />' . sprintf($txt['database_error_versions'], $modSettings['elkVersion']); |
| 679 |
|
|
| 680 |
|
if (allowedTo('admin_forum') && $db_show_debug === true) |
| 681 |
|
$context['error_message'] .= '<br /><br />' . nl2br($db_string); |
| 682 |
|
|
| 683 |
|
// It's already been logged... don't log it again. |
| 684 |
|
throw new Elk_Exception($context['error_message'], false); |
sources/database/Db-postgresql.class.php 1 location
|
@@ 535-536 (lines=2) @@
|
| 532 |
|
if (allowedTo('admin_forum')) |
| 533 |
|
$context['error_message'] .= '<br /><br />' . sprintf($txt['database_error_versions'], $modSettings['elkVersion']); |
| 534 |
|
|
| 535 |
|
if (allowedTo('admin_forum') && $db_show_debug === true) |
| 536 |
|
$context['error_message'] .= '<br /><br />' . nl2br($db_string); |
| 537 |
|
|
| 538 |
|
// It's already been logged... don't log it again. |
| 539 |
|
throw new Elk_Exception($context['error_message'], false); |