undo last checkin
This commit is contained in:
parent
1a4a6b5ff9
commit
db30a2342c
3 changed files with 0 additions and 9 deletions
1
boot.php
1
boot.php
|
@ -989,7 +989,6 @@ function autoname($len) {
|
||||||
if(! function_exists('killme')) {
|
if(! function_exists('killme')) {
|
||||||
function killme() {
|
function killme() {
|
||||||
session_write_close();
|
session_write_close();
|
||||||
closedb();
|
|
||||||
exit;
|
exit;
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
|
@ -215,10 +215,3 @@ function dbesc_array(&$arr) {
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
||||||
if(! function_exists('closedb')) {
|
|
||||||
function closedb() {
|
|
||||||
global $db;
|
|
||||||
if($db && $db->connected)
|
|
||||||
$db->close();
|
|
||||||
}}
|
|
||||||
|
|
||||||
|
|
|
@ -326,5 +326,4 @@ else
|
||||||
require_once(str_replace($lang . '/', '', $template));
|
require_once(str_replace($lang . '/', '', $template));
|
||||||
|
|
||||||
session_write_close();
|
session_write_close();
|
||||||
closedb();
|
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in a new issue