Ignore:
Timestamp:
Sep 5, 2013, 11:34:16 AM (11 years ago)
Author:
mistic100
Message:

force footer contact link when the form is public

File:
1 edited

Legend:

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

    r23205 r24347  
    2323  {
    2424    $contact_form_default_config = serialize(array(
     25      'cf_ready' => false,
    2526      'cf_must_initialize' => true,
    2627      'cf_menu_link' => true,
     
    5152    {
    5253      // new params
    53       $new_conf['cf_must_initialize'] = false;
    5454      $new_conf['cf_default_subject'] = 'A comment on your site';
    5555      $new_conf['cf_mail_type'] = 'text/html';
     
    9898    }
    9999   
     100    if (!isset($new_conf['cf_ready']))
     101    {
     102      $new_conf['cf_ready'] = false;
     103    }
     104   
    100105    // save config
    101106    $conf['ContactForm'] = serialize($new_conf);
Note: See TracChangeset for help on using the changeset viewer.