Function CMSPermissionsScanner->set_path_patterns

Definitions

sources/file_permissions_check.php

  • Set paths patterns.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$sensitive_paths array [] N/A N/A A list of sensitive path regexps that really should have minimal read permission
$chmod_paths array [] N/A N/A A list of path regexps that should be chmodded as writable for non-suEXEC-style servers
$script_paths ?array Null N/A N/A A list of path regexps for scripts that need Unix execute permission (null: .sh files)
$skip_paths array [] N/A N/A A list of paths to skip