Changeset 24348 for extensions/ContactForm/include
- Timestamp:
- Sep 5, 2013, 12:13:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/install.inc.php
r24347 r24348 22 22 if (empty($conf['ContactForm'])) 23 23 { 24 $contact_form_default_config = serialize(array( 25 'cf_ready' => false, 24 $conf['ContactForm'] = serialize(array( 26 25 'cf_must_initialize' => true, 27 26 'cf_menu_link' => true, … … 36 35 )); 37 36 38 conf_update_param('ContactForm', $contact_form_default_config);39 conf_update_param('ContactForm_before', null);40 conf_update_param('ContactForm_after', null);41 42 $conf['ContactForm'] = $contact_form_default_config;43 37 $conf['ContactForm_before'] = null; 44 38 $conf['ContactForm_after'] = null; 39 40 conf_update_param('ContactForm', $conf['ContactForm']); 41 conf_update_param('ContactForm_before', $conf['ContactForm_before']); 42 conf_update_param('ContactForm_after', $conf['ContactForm_after']); 45 43 } 46 44 else … … 98 96 } 99 97 100 if (!isset($new_conf['cf_ready']))101 {102 $new_conf['cf_ready'] = false;103 }104 105 98 // save config 106 99 $conf['ContactForm'] = serialize($new_conf);
Note: See TracChangeset
for help on using the changeset viewer.