Changes between Version 4 and Version 5 of Ticket #51340, comment 12
- Timestamp:
- 03/27/2023 11:22:48 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51340, comment 12
v4 v5 3 3 > Atm when you have `chmod` (and `chown`) in your php.ini `disable_functions` directive, you run into errors all the time. 4 4 5 In that case, we could just guard calls to these functions with `function_exists()` checks. Where ` chmod()` / `chown()` are returned, a disabled function would return `true`.5 In that case, we could just guard calls to these functions with `function_exists()` checks. Where `return chmod()` / `return chown()` are used in Core, we would return `true` if the functions are disabled. 6 6 7 7 That way: