mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
Execute SQL file stored on server disk
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1015 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -164,7 +164,7 @@ function get_file($key) {
|
||||
|
||||
function upload_error($error) {
|
||||
$max_size = ($error == UPLOAD_ERR_INI_SIZE ? ini_get("upload_max_filesize") : null); // post_max_size is checked in index.php
|
||||
return lang('Unable to upload a file.') . ($max_size ? " " . lang('Maximum allowed file size is %sB.', $max_size) : "");
|
||||
return ($error ? lang('Unable to upload a file.') . ($max_size ? " " . lang('Maximum allowed file size is %sB.', $max_size) : "") : lang('File does not exist.'));
|
||||
}
|
||||
|
||||
function odd($s = ' class="odd"') {
|
||||
|
Reference in New Issue
Block a user