Function __global->_check_filedump_filename
Definitions
sources/filedump.php
- Check a filedump filename is going to be valid / repair it if possible.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$subpath | string | Yes | No | required parameter | N/A | N/A | Whether it is being stored under uploads/filedump |
| &$filename | string | Yes | No | required parameter | N/A | N/A | The filename |
| $check_permissions | boolean | No | No | True | N/A | N/A | Check access permissions |
Preview
Code (PHP)
/**
* Check a filedump filename is going to be valid / repair it if possible.
*
* @param string $subpath Whether it is being stored under uploads/filedump
* @param string $filename The filename
* @param boolean $check_permissions Check access permissions
*/
function _check_filedump_filename(string &$subpath, string &$filename, bool $check_permissions = true)
* Check a filedump filename is going to be valid / repair it if possible.
*
* @param string $subpath Whether it is being stored under uploads/filedump
* @param string $filename The filename
* @param boolean $check_permissions Check access permissions
*/
function _check_filedump_filename(string &$subpath, string &$filename, bool $check_permissions = true)

