Changeset 21232 for extensions/SocialButtons/include
- Timestamp:
- Mar 6, 2013, 12:51:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SocialButtons/include/install.inc.php
r20374 r21232 10 10 $default_config = array( 11 11 'position' => 'toolbar', 12 'on_index' => true, 12 13 'twitter' => array( 13 14 'enabled' => true, … … 64 65 { 65 66 $new_conf = unserialize($conf['SocialButtons']); 67 66 68 if (empty($new_conf['pinterest'])) 67 69 { … … 71 73 'img_size' => 'Original', 72 74 ); 73 $conf['SocialButtons'] = serialize($new_conf);74 conf_update_param('SocialButtons', $conf['SocialButtons']);75 75 } 76 if (!isset($new_conf['on_index'])) 77 { 78 $new_conf['on_index'] = true; 79 } 80 81 $conf['SocialButtons'] = serialize($new_conf); 82 conf_update_param('SocialButtons', $conf['SocialButtons']); 76 83 } 77 84 }
Note: See TracChangeset
for help on using the changeset viewer.