Ticket #1485040 (closed Bugs: fixed)

Opened 7 months ago

Last modified 7 months ago

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: svn-trunk
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

Changed 7 months ago by alec

  • milestone changed from later to 0.1.2

Changed 7 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed
  • component changed from Client to PHP backend

Right, forgot to call load_host_config(), fixed in r1370. The config option is described in Howto_Config

Note: See TracTickets for help on using tickets.