mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Don't append newlines to uploaded files
This commit is contained in:
@@ -643,8 +643,8 @@ function get_file($key, $decompress = false) {
|
||||
} elseif ($start == "\xEF\xBB\xBF") { // UTF-8 BOM
|
||||
$content = substr($content, 3);
|
||||
}
|
||||
$return .= $content . "\n\n";
|
||||
}
|
||||
$return .= $content . "\n\n";
|
||||
}
|
||||
//! support SQL files not ending with semicolon
|
||||
return $return;
|
||||
|
Reference in New Issue
Block a user