Changeset 18258

Show
Ignore:
Timestamp:
10/16/08 19:47:02 (2 months ago)
Author:
bergie
Message:

Set local IP as allowed one automatically, refs #44

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/config/midcom_config.php

    r18131 r18258  
    407407$GLOBALS['midcom_config_default']['indexer_index_name'] = $unique_host_name; 
    408408$GLOBALS['midcom_config_default']['indexer_reindex_memorylimit'] = 250; 
    409 $GLOBALS['midcom_config_default']['indexer_reindex_allowed_ips'] = Array('127.0.0.1'); 
     409$GLOBALS['midcom_config_default']['indexer_reindex_allowed_ips'] = Array('127.0.0.1', $_SERVER['SERVER_ADDR']); 
    410410 
    411411// XMLTCP indexer backend (THE RECOMMENDED ONE)