diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index aaa01a0b..b713da1f 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -144,4 +144,7 @@ if ($_POST) { } elseif ($_SERVER["REQUEST_METHOD"] == "POST") { // posted form with no data means that post_max_size exceeded because Adminer always sends token at least $error = lang('Too big POST data. Reduce the data or increase the %s configuration directive.', "'post_max_size'"); + if (isset($_GET["sql"])) { + $error .= ' ' . lang('You can upload a big SQL file via FTP and import it from server.'); + } } diff --git a/adminer/lang/cs.inc.php b/adminer/lang/cs.inc.php index 6e679187..699b6693 100644 --- a/adminer/lang/cs.inc.php +++ b/adminer/lang/cs.inc.php @@ -65,6 +65,7 @@ $translations = array( 'Unable to upload a file.' => 'Nepodařilo se nahrát soubor.', 'Maximum allowed file size is %sB.' => 'Maximální povolená velikost souboru je %sB.', 'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'Příliš velká POST data. Zmenšete data nebo zvyšte hodnotu konfigurační direktivy %s.', + 'You can upload a big SQL file via FTP and import it from server.' => 'Velký SQL soubor můžete nahrát pomocí FTP a importovat ho ze serveru.', 'Export' => 'Export', 'Dump' => 'Export', diff --git a/adminer/lang/xx.inc.php b/adminer/lang/xx.inc.php index d7712ee1..88f5db02 100644 --- a/adminer/lang/xx.inc.php +++ b/adminer/lang/xx.inc.php @@ -65,6 +65,7 @@ $translations = array( 'Unable to upload a file.' => 'xx', 'Maximum allowed file size is %sB.' => 'xx', 'Too big POST data. Reduce the data or increase the %s configuration directive.' => 'xx', + 'You can upload a big SQL file via FTP and import it from server.' => 'xx', 'Export' => 'xx', 'Dump' => 'xx',