Skip to content

Commit

Permalink
Suggest using adminer.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Jun 24, 2013
1 parent 27c7a21 commit 2e32bf1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adminer/include/auth.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,7 @@ function auth_error($exception = null) {
} 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.');
}
}
1 change: 1 addition & 0 deletions adminer/lang/cs.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
'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',
Expand Down
1 change: 1 addition & 0 deletions adminer/lang/xx.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
'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',
Expand Down

0 comments on commit 2e32bf1

Please sign in to comment.