1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00
This commit is contained in:
Jakub Vrana
2011-08-02 17:49:00 +02:00
parent fd65b4c9b9
commit 3efcd4d5b7

View File

@@ -3,7 +3,6 @@ page_header(lang('Database schema'), "", array(), DB);
$table_pos = array();
$table_pos_js = array();
// saved in one cookie because there is a limit of 20 cookies per domain
$name = "adminer_schema";
$SCHEMA = ($_GET["schema"] ? $_GET["schema"] : $_COOKIE[($_COOKIE["$name-" . DB] ? "$name-" . DB : $name)]); // $_COOKIE["adminer_schema"] was used before 3.2.0 //! ':' in table name
preg_match_all('~([^:]+):([-0-9.]+)x([-0-9.]+)(_|$)~', $SCHEMA, $matches, PREG_SET_ORDER);