mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Improve concurrency
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1225 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -91,6 +91,11 @@ include "./include/connect.inc.php";
|
||||
include "./include/editing.inc.php";
|
||||
include "./include/export.inc.php";
|
||||
|
||||
session_cache_limiter(""); // to allow restarting session
|
||||
if (@ini_set("session.use_cookies", false) !== false) { // @ - may be disabled
|
||||
session_write_close(); // improves concurrency, may be restarted later
|
||||
}
|
||||
|
||||
$confirm = " onclick=\"return confirm('" . lang('Are you sure?') . "');\"";
|
||||
$token = $_SESSION["tokens"][$_GET["server"]];
|
||||
$error = ($_POST
|
||||
|
Reference in New Issue
Block a user