System Configuration


File creation and identification

  • $config->chmodDir

    Octal string permissions assigned to directories created by ProcessWire. Default is "0777".

  • $config->chmodFile

    Octal string permissions assigned to files created by ProcessWire. Default is "0666".

  • $config->templateExtension

    Expected extension for template files. Default is "php".

  • $config->uploadUnzipCommand

    Shell command to unzip archives, used by WireUpload class. If unzip doesn't work, you may need to precede 'unzip' with a path. Default is: unzip -j -qq -n /src/ -x __MACOSX .* -d /dst/

  • $config->uploadBadExtensions

    File extensions that are always disallowed from uploads. Default is: php php3 phtml exe cfm shtml asp pl cgi sh vbs jsp