Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow token from closure #16

Open
bnomei opened this issue Jul 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@bnomei
Copy link

commented Jul 10, 2019

$this->token = option('sylvainjule.matomo.token');

if(is_callable($this->token)) {
  $this->token = $this->token();
}

to solve loading from .env file
https://forum.getkirby.com/t/unable-initialize-env-file/14877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.