Browse Source

Close SQL connection on error.

pull/40/head
Savetheinternet 12 years ago
committed by Paul Merrill
parent
commit
5e5a988ead
  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