class ServerConfigChecks (View source)

Performs various compatibility, security and consistency checks on current config

Outputs results to message list, must be called between SetupIndex::messagesBegin() and SetupIndex::messagesEnd()

Methods

__construct(ConfigFile $cfg)

No description

void
performConfigChecks()

Perform config checks

void
performConfigChecksServers(string $blowfishSecret)

Check config of servers

string
performConfigChecksServersGetServerName(string $serverName, int $serverId)

Define server name

void
performConfigChecksZips()

Perform config checks for zip part.

void
performConfigChecksServersZipdump()

Perform config checks for zip part.

void
performConfigChecksLoginCookie()

Check configuration for login cookie

void
performConfigChecksServerBZipdump()

Check GZipDump configuration

void
performConfigChecksServerGZipdump()

Check GZipDump configuration

bool
functionExists(string $name)

Wrapper around function_exists to allow mock in test

Details

__construct(ConfigFile $cfg)

No description

Parameters

ConfigFile $cfg

void performConfigChecks()

Perform config checks

Return Value

void

protected void performConfigChecksServers(string $blowfishSecret)

Check config of servers

Parameters

string $blowfishSecret

Blowfish secret

Return Value

void

protected string performConfigChecksServersGetServerName(string $serverName, int $serverId)

Define server name

Parameters

string $serverName

Server name

int $serverId

Server id

Return Value

string

Server name

protected void performConfigChecksZips()

Perform config checks for zip part.

Return Value

void

protected void performConfigChecksServersZipdump()

Perform config checks for zip part.

Return Value

void

protected void performConfigChecksLoginCookie()

Check configuration for login cookie

Return Value

void

protected void performConfigChecksServerBZipdump()

Check GZipDump configuration

Return Value

void

protected void performConfigChecksServerGZipdump()

Check GZipDump configuration

Return Value

void

protected bool functionExists(string $name)

Wrapper around function_exists to allow mock in test

Parameters

string $name

Function name

Return Value

bool