mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Schema support for PostgreSQL
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1521 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -46,7 +46,7 @@ if (isset($_POST["server"])) {
|
||||
set_session($key, null);
|
||||
}
|
||||
cookie("adminer_permanent", "");
|
||||
redirect(substr(preg_replace('~(username|db)=[^&]*&~', '', ME), 0, -1), lang('Logout successful.'));
|
||||
redirect(substr(preg_replace('~(username|db|ns)=[^&]*&~', '', ME), 0, -1), lang('Logout successful.'));
|
||||
}
|
||||
} elseif ($_COOKIE["adminer_permanent"]) {
|
||||
list($server, $username, $cipher, $system) = array_map('base64_decode', explode(":", $_COOKIE["adminer_permanent"])); // $driver is a global variable
|
||||
|
Reference in New Issue
Block a user