Function CMSPermissionsScanner->set_web_username

Definitions

sources/file_permissions_check.php

  • Set username the web user will run as.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$username ?string No No Null N/A N/A Username or User ID (null: try and auto-detect, failing that assume suEXEC-style)

Preview

Code (PHP)

/**
 * Set username the web user will run as.
 *
 * @param  ?string $username Username or User ID (null: try and auto-detect, failing that assume suEXEC-style)
 */

public function set_web_username(?string $username = null)