Open crispa opened 2 years ago
mostly this will issue occur when you change the $root_path
configuration, please make sure you change $root_url
as well.
Thank you for your reply. I tried many options but don't work. Only when upload from URL persmissions was seted 0600...
No any update about this problem??
I have the same problem. I saw that when we "Upload from URL" the file permissions are set to "600" and TFM require "0604" to show the file or enable access,
Hi all, it is because Tiny File Manager uses tempnam() to create the temporary file. This function creates a file with 600 permissions by default.
This can be fixed by adding a chmod
to the success block that starts on line 650 so it looks like this:
if ($success) {
chmod($temp_file, 0644);
$success = rename($temp_file, strtok(get_file_path(), '?'));
}
Hi everyone, I love Tinyfilamager, Thank you! I have a problem after upload image from URL: