Suggest using adminer.sql
This commit is contained in:
parent
27c7a218bd
commit
2e32bf1f97
|
@ -144,4 +144,7 @@ if ($_POST) {
|
||||||
} elseif ($_SERVER["REQUEST_METHOD"] == "POST") {
|
} elseif ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||||
// posted form with no data means that post_max_size exceeded because Adminer always sends token at least
|
// 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'");
|
$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.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,7 @@ $translations = array(
|
||||||
'Unable to upload a file.' => 'Nepodařilo se nahrát soubor.',
|
'Unable to upload a file.' => 'Nepodařilo se nahrát soubor.',
|
||||||
'Maximum allowed file size is %sB.' => 'Maximální povolená velikost souboru je %sB.',
|
'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.',
|
'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',
|
'Export' => 'Export',
|
||||||
'Dump' => 'Export',
|
'Dump' => 'Export',
|
||||||
|
|
|
@ -65,6 +65,7 @@ $translations = array(
|
||||||
'Unable to upload a file.' => 'xx',
|
'Unable to upload a file.' => 'xx',
|
||||||
'Maximum allowed file size is %sB.' => 'xx',
|
'Maximum allowed file size is %sB.' => 'xx',
|
||||||
'Too big POST data. Reduce the data or increase the %s configuration directive.' => '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',
|
'Export' => 'xx',
|
||||||
'Dump' => 'xx',
|
'Dump' => 'xx',
|
||||||
|
|
Loading…
Reference in a new issue