Ignore:
Timestamp:
May 3, 2014, 11:39:07 AM (10 years ago)
Author:
mistic100
Message:

add $confcontact_form_show_ip option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/functions.inc.php

    r26850 r28324  
    159159    array(
    160160      'ip' => $_SERVER['REMOTE_ADDR'],
    161       'agent' => $_SERVER['HTTP_USER_AGENT']
     161      'agent' => $_SERVER['HTTP_USER_AGENT'],
     162      'show_ip' => isset($conf['contact_form_show_ip']) && $conf['contact_form_show_ip'],
    162163    )
    163164   );
Note: See TracChangeset for help on using the changeset viewer.