Skip to content

Kirby 5.1.3

$system->register()

Validates the license key and adds it to the .license file in the config folder if possible.

$system->register(string|null $license = null, string|null $email = null): bool

Parameters

Name Type Default
$license stringornull null
$email stringornull null

Return type

bool

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

Exceptions

Parent class

Kirby\Cms\System