This commit is contained in:
Savetheinternet 2011-08-15 00:49:52 +10:00
parent 2162238813
commit e3f2aa8da3
5 changed files with 23 additions and 49 deletions

View file

@ -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(