forked from leftypol/leftypol
...
This commit is contained in:
parent
2162238813
commit
e3f2aa8da3
5 changed files with 23 additions and 49 deletions
7
post.php
7
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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue