Skip to content

INI FILES

Mark Friedrich edited this page Jul 28, 2017 · 2 revisions
environment.ini
  • [ENVIRONMENT]
    • SERVER - Specifies which of the following configuration blocks will be used. (DEVELOP or PRODUCTION)
    • BASE - Set the base path to your index.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 or singularity
  • CCP_ESI_SCOPES - requested ESI scopes (comma separated)
  • CCP_ESI_SCOPES_ADMIN - requested additional scopes for corporation admins (/admin SSO)

pathfinder.ini
  • [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!

Clone this wiki locally