From e3f2aa8da34ae0094c0257b770c4089da7d2ca6f Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Mon, 15 Aug 2011 00:49:52 +1000 Subject: ... --- post.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'post.php') diff --git a/post.php b/post.php index 345a622a..6c90503b 100644 --- a/post.php +++ b/post.php @@ -73,8 +73,6 @@ buildIndex(); - sql_close(); - $is_mod = isset($_POST['mod']) && $_POST['mod']; $root = $is_mod ? $config['root'] . $config['file_mod'] . '?/' : $config['root']; @@ -128,8 +126,6 @@ } } - sql_close(); - $is_mod = isset($_POST['mod']) && $_POST['mod']; $root = $is_mod ? $config['root'] . $config['file_mod'] . '?/' : $config['root']; @@ -544,8 +540,6 @@ rebuildThemes('post'); header('Location: ' . $redirect, true, $config['redirect_http']); - sql_close(); - exit; } else { if(!file_exists($config['has_installed'])) { @@ -558,7 +552,6 @@ buildIndex(); } - sql_close(); touch($config['has_installed'], 0777); die(Element('page.html', Array( -- cgit v1.3