Skip to content

Kirby 5.0.4

$environment->options()

Loads and returns options from environment-specific PHP files (by host name and server IP address or CLI)

$environment->options(string $root): array

Parameters

Name Type Default Description
$rootrequired string no default value Root directory to load configs from

Return type

array

This method modifies the existing $environment object it is applied to and returns it again.

Parent class

Kirby\Http\Environment