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

Configuration with Cockpit config.php file #13

Open
Flaminiat opened this issue Jun 25, 2020 · 0 comments
Open

Configuration with Cockpit config.php file #13

Flaminiat opened this issue Jun 25, 2020 · 0 comments

Comments

@Flaminiat
Copy link

Hello,
I am trying to add Detektivo-Algolia to my Cockpit but I cannot understand what I do wrong in the config.php file. All examples I found are with config.yaml but in my version of Cockpit the config file is .php.
I tried by going to Settings --> settings --> config/config.php and adding this:
'detektivo' => [
'engine' => 'algolia',
'app_id' => 'MXXXXXI',
'api_key' => 'xxxxxxxxxxxxxxxx'
]

but once saved I get this error:
Parse error: syntax error, unexpected '"detektivo"' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /var/www/html/config/config.php on line 6

What I am doing wrong?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant