Browse Source

Close SQL connection on error.

pull/40/head
Savetheinternet 12 years ago
parent
commit
210563045d
  1. 2
      inc/display.php

2
inc/display.php

@ -21,6 +21,8 @@
function error($message) {
global $board;
if(function_exists('sql_close')) sql_close();
die(Element('page.html', Array(
'index'=>ROOT,
'title'=>'Error',

Loading…
Cancel
Save