Opened 5 years ago
Closed 5 years ago
#1485040 closed Bugs (fixed)
load_host_config is never called, include_host_config is not documented
| Reported by: | memoryhole | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-alpha |
| Component: | PHP backend | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Roundcube already has a reasonably powerful and convenient way of changing the configuration based on $_SERVER['HTTP_HOST'], in the form of the include_host_config option. The idea is that the administrator can create different config files for each HTTP_HOST, as needed. However, this is only used by the load_host_config() function, defined in program/include/rcube_config.php, which is never actually called.
While you're at it, the include_host_config option is not documented in main.inc.php, and it should be.
Change History (2)
comment:1 Changed 5 years ago by alec
- Milestone changed from later to 0.1.2
comment:2 Changed 5 years ago by thomasb
- Component changed from Client to PHP backend
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Right, forgot to call load_host_config(), fixed in [2ca388d0].
The config option is described in Howto_Config