Changeset 28848
- Timestamp:
- Jun 29, 2014, 4:25:32 PM (10 years ago)
- Location:
- extensions/SmartAlbums
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/admin/cat_list.php
r28631 r28848 5 5 { 6 6 $conf['SmartAlbums']['show_list_messages'] = false; 7 conf_update_param('SmartAlbums', serialize($conf['SmartAlbums']));7 conf_update_param('SmartAlbums', $conf['SmartAlbums']); 8 8 } 9 9 -
extensions/SmartAlbums/admin/config.php
r26442 r28848 19 19 ); 20 20 21 conf_update_param('SmartAlbums', serialize($conf['SmartAlbums']));21 conf_update_param('SmartAlbums', $conf['SmartAlbums']); 22 22 $page['infos'][] = l10n('Information data registered in database'); 23 23 } -
extensions/SmartAlbums/include/events.inc.php
r26442 r28848 25 25 26 26 $conf['SmartAlbums']['last_update'] = time(); 27 conf_update_param('SmartAlbums', serialize($conf['SmartAlbums']));27 conf_update_param('SmartAlbums', $conf['SmartAlbums']); 28 28 29 29 // get categories with smart filters -
extensions/SmartAlbums/main.inc.php
r26442 r28848 17 17 define('CATEGORY_FILTERS_TABLE', $prefixeTable . 'category_filters'); 18 18 define('SMART_ADMIN', get_root_url() . 'admin.php?page=plugin-' . SMART_ID); 19 define('SMART_VERSION', 'auto');20 19 // define('SMART_DEBUG', true); 21 20 … … 44 43 global $conf; 45 44 46 include_once(SMART_PATH . 'maintain.inc.php');47 $maintain = new SmartAlbums_maintain(SMART_ID);48 $maintain->autoUpdate(SMART_VERSION, 'install');49 50 45 if (defined('IN_ADMIN')) 51 46 { 52 47 load_language('plugin.lang', SMART_PATH); 53 48 } 54 $conf['SmartAlbums'] = unserialize($conf['SmartAlbums']);49 $conf['SmartAlbums'] = safe_unserialize($conf['SmartAlbums']); 55 50 56 51 if (script_basename() == 'index' and $conf['SmartAlbums']['smart_is_forbidden'])
Note: See TracChangeset
for help on using the changeset viewer.