mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-20 06:26:40 +02:00
Compare commits
3 commits
96e0f30f39
...
55dcb4bc4e
Author | SHA1 | Date | |
---|---|---|---|
55dcb4bc4e | |||
a1ae0fa729 | |||
4e8303fae6 |
|
@ -958,7 +958,7 @@ if (!empty($_FILES) && !FM_READONLY) {
|
|||
|
||||
$targetPath = $path . $ds;
|
||||
if ( is_writable($targetPath) ) {
|
||||
$fullPath = $path . '/' . basename($fullPathInput);
|
||||
$fullPath = $path . '/' . $fullPathInput;
|
||||
$folder = substr($fullPath, 0, strrpos($fullPath, "/"));
|
||||
|
||||
if (!is_dir($folder)) {
|
||||
|
@ -3054,6 +3054,7 @@ function fm_get_text_mimes()
|
|||
'image/svg+xml',
|
||||
'message/rfc822',
|
||||
'application/json',
|
||||
'application/x-empty',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue