summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php7
1 files changed, 0 insertions, 7 deletions
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(