-
Notifications
You must be signed in to change notification settings - Fork 256
Configuration
PATHFINDER is pretty easy to configure! If you are not planning "getting your hands dirty" with programming stuff, you don´t have to change a lot. All configuration files can be found here:
- config.ini Framework config (No changes required)
- environment.ini DB/SSO/ESI/SMTP config
- pathfinder.ini Pathfinder config
- cron.ini Cronjob config (No changes required)
- requirements.ini Requirements (No changes required)
- routes.ini Routes config (No changes required)
The default configuration should be fine in most cases. Edit all values with caution!
The pathfinder.ini and environment.ini are the most important. They use a namespaced [header]
syntax to define setting blocks and structure. Here are some config options of note:
IMPORTANT: You can either edit the
*.ini
files in place(original files) or add your own*.ini
to a location setconfig.ini
. Default:conf/
dir. Create this folder in project_root/conf with proper permissions!
-
[ENVIRONMENT]
-
SERVER
- Specifies which of the following configuration blocks will be used. (DEVELOP
orPRODUCTION
) -
BASE
- Set the base path to yourindex.php
. Leave it blank means "auto detect" which should be fine for most installations. In case you want to install it in a sub-dir (e.g.https://www.[YOUR_DOMAIN]/pathfinder
) set this path to/pathfinder
-
URL
- Set our URL (without a trailing slash). -
DEBUG
- Set the level of debugging (0/1/2 or 3) (This is used for logging [/logs
] and specifies the backtrace depth) -
DB_DNS
,DB_NAME
,DB_USER
,DB_PASS
- Set your database credentials (pathfinder
database) -
DB_CCP_DNS
,DB_CCP_NAME
,DB_CCP_USER
,DB_CCP_PASS
- Set your databasecredentials (EVE-ONLINE SDE database) -
SMTP_*
- Set SMTP (E-Mail) server settings. [optional]
-
Set SSO credentials. Check out the SSO and ESI page.
-
CCP_SSO_URL
- Base (root) SSO url -
CCP_SSO_CLIENT_ID
- Your "Client ID" -
CCP_SSO_SECRET_KEY
- Your "Secret Key"
Set ESI configuration. Check out the SSO and ESI page. [NO CHANGES REQUIRED]
-
CCP_ESI_URL
- Base (root) ESI url: https://esi.tech.ccp.is (Swagger UI) -
CCP_ESI_DATASOURCE
-tranquility
orsingularity
-
CCP_ESI_SCOPES
- requested ESI scopes (comma separated) -
CCP_ESI_SCOPES_ADMIN
- requested additional scopes for corporation admins (/admin
SSO)
-
[PATHFINDER]
-
SHOW_SETUP_WARNING
show warning on login page if/setup
route exists. Do not hide this warning unless/setup
route is protected by e.g. WebAuth or .htaccess.
-
-
[PATHFINDER.LOGIN]
-
COOKIE_EXPIRE
- expire age (in days) for login cookies. read more -
CORPORATION
- comma separated string of corporation ids that are allowed to login. (empty = "no restriction") -
ALLIANCE
- comma separated string of alliance ids that are allowed to login. (empty = "no restriction")
-
-
[PATHFINDER.MAP.PRIVATE]
,[PATHFINDER.MAP.PRIVATE]
,[PATHFINDER.MAP.ALLIANCE]
-
LIFETIME
- expire time (in days) until a map type will be deleted (by cronjob)
-
Hint: All the other settings should be fine and may only be changed if you know what you do!