Changeset 28854
- Timestamp:
- Jun 29, 2014, 4:28:02 PM (10 years ago)
- Location:
- extensions/UserCollections
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserCollections/admin/config.php
r25678 r28854 9 9 ); 10 10 11 conf_update_param('user_collections', serialize($conf['user_collections']));11 conf_update_param('user_collections', $conf['user_collections']); 12 12 } 13 13 -
extensions/UserCollections/main.inc.php
r26055 r28854 20 20 define('USER_COLLEC_ADMIN', get_root_url() . 'admin.php?page=plugin-' . USER_COLLEC_ID); 21 21 define('USER_COLLEC_PUBLIC', get_absolute_root_url() . make_index_url(array('section' => 'collections')) . '/'); 22 define('USER_COLLEC_VERSION', 'auto');23 22 24 23 add_event_handler('init', 'user_collections_init'); … … 30 29 function user_collections_init() 31 30 { 32 include_once(USER_COLLEC_PATH . 'maintain.inc.php');33 $maintain = new UserCollections_maintain(USER_COLLEC_ID);34 $maintain->autoUpdate(USER_COLLEC_VERSION, 'install');35 36 31 if (mobile_theme()) 37 32 { … … 42 37 43 38 global $conf; 44 $conf['user_collections'] = unserialize($conf['user_collections']);39 $conf['user_collections'] = safe_unserialize($conf['user_collections']); 45 40 46 41 require_once(USER_COLLEC_PATH . 'include/ws_functions.inc.php');
Note: See TracChangeset
for help on using the changeset viewer.