diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-01 19:12:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-06-11 17:06:03 +0400 |
commit | a05456210029c8ba09db1eb765bcb116c449c746 (patch) | |
tree | eb9beb55a6569298b9309b38a50823094e15ce78 /import.php | |
parent | c2ae2ae265cade8b671acbd70073bbc22b61ee17 (diff) |
PMA_Footer and PMA_Header no longer need to be singletons
Diffstat (limited to 'import.php')
-rw-r--r-- | import.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/import.php b/import.php index f801c9bbde..7dcf9966c6 100644 --- a/import.php +++ b/import.php @@ -83,7 +83,8 @@ if (! empty($sql_query)) { // upload limit has been reached, let's assume the second possibility. ; if ($_POST == array() && $_GET == array()) { - PMA_Header::getInstance()->display(); + $response = PMA_Response::getInstance(); + $response->getHeader()->display(); $message = PMA_Message::error(__('You probably tried to upload too large file. Please refer to %sdocumentation%s for ways to workaround this limit.')); $message->addParam('[a@./Documentation.html#faq1_16@_blank]'); $message->addParam('[/a]'); |