Changeset 31605
- Timestamp:
- Jul 6, 2016, 9:18:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Photo_add_by/maintain.class.php
r31465 r31605 32 32 function install($plugin_version, &$errors=array()) 33 33 { 34 34 35 35 36 } … … 37 38 function activate($plugin_version, &$errors=array()) 38 39 { 39 40 global $conf; 41 42 if (!isset($conf['Photo_add_by'])){ 43 conf_update_param('Photo_add_by', 'Categories',true); 44 } 45 if (!isset($conf['Photo_add_by_show'])){ 46 conf_update_param('Photo_add_by_show',0,true); 47 } 40 48 } 41 49
Note: See TracChangeset
for help on using the changeset viewer.