Back to top

Configuration

This table lists all configuration options implemented by Rack. If you implement any configuration options or use an external library that does, you use the config.php file for this as well.

Name Required Default Description
ADMIN_COMMITTEE 'webcie' The login of the committee that should have admin access. It's the identifier used in the url of your committee page on the Cover website.
ADMIN_EMAIL The email address of the admin committee.
COVER_APP Y The name of the application, used for authentication.
COVER_API_URL 'https://www.svcover.nl/api.php' The url of the Cover API. Usually, this doesn't need to be set.
COVER_COOKIE_NAME 'cover_session_id' Name of the cookie used to identify the Cover session. Usually, this doesn't need to be set.
COVER_LOGIN_URL 'https://www.svcover.nl/sessions.php?view=login' The Cover website login url. Usually, this doesn't need to be set.
COVER_LOGOUT_URL 'https://www.svcover.nl/sessions.php?view=logout' The Cover website logout url. Usually, this doesn't need to be set.
COVER_SECRET Y A shared secret between your app and the Cover website. You can obtain one through the AC/DCee
ERROR_TEMPLATE 'templates/error.phtml' Te name of the template used to render errors.
DB_DSN Only for DB The connection string for your database. Looks like 'mysql:host=localhost;dbname=committeedbname'
DB_USER Only for DB Your database username.
DB_PASSWORD Only for DB Your database password.
SENTRY_URL The url of the Sentry project. Requires Sentry to be installed if enabled.
SERVER_NAME Y The url of the application, used for authentication.

documentation/rack/reference/config.txt · Last modified: 2023/08/31 23:17 by Martijn Luinstra