fileCHMOD

Availability: >= 3.0

Type: Object Property

Description: Sets the CHMOD mode for files created or uploaded through the file managers.

Syntax:

$editor->fileCHMOD Int $mode;

The value should be an integer. It should be an octal value prefixed with a 0. For example to set the mode to 666 you would use 0666;

Example:

$editor->fileCHMOD 0666;

See also:

folderCHMOD