Uploaded File Permissions
Posted: Wed Jan 01, 2025 10:23 am
For the last 3 or 4 years all the image files that Phoenix uploads to my site have the file permission set to 0777 presumably by Phoenix.
I notice in admin\includes\classes\upload PHP there is;
Should the 777 be 644?
The copyright date of this file is 2021 so was the previous method 777?
I notice in admin\includes\classes\upload PHP there is;
Code: Select all
public function __construct($file = '', $destination = '', $permissions = '777', $extensions = '') {The copyright date of this file is 2021 so was the previous method 777?