Skip to content
  1. Extras
  2. GeoLocation2
  3. System settings

System settings

Namespace: geolocation2. Database keys use prefix geolocation2_.

Main

KeyTypeDefaultDescription
geolocation2_debugboolean0Log to MODX error log
geolocation2_detect_methodtextsxgeoInitial detection: sxgeo (IP → SxGeo) or session (saved session only)

SxGeo

KeyTypeDefaultDescription
geolocation2_sxgeo_auto_updateboolean1Auto-update database via Scheduler
geolocation2_sxgeo_update_interval_daysnumber14Days between update checks
geolocation2_sxgeo_last_run_attext(empty)Service: last task run time
geolocation2_sxgeo_last_statustext(empty)Service: last update status
geolocation2_sxgeo_last_messagetext(empty)Service: last update message
geolocation2_sxgeo_last_header_timetext(empty)Service: date from downloaded file header

Component writes geolocation2_sxgeo_last_* on auto-update and CLI. You normally do not edit them manually.

Permissions

IdentifierPurpose
geolocation2_saveSave records in GeoLocation2 manager

See also: Integration → SxGeo update.