Changeset 28848 for extensions/SmartAlbums/main.inc.php
- Timestamp:
- Jun 29, 2014, 4:25:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.