Changeset 28849 for extensions/SmiliesSupport/main.inc.php
- Timestamp:
- Jun 29, 2014, 4:25:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmiliesSupport/main.inc.php
r27208 r28849 14 14 define('SMILIES_DIR', SMILIES_PATH . 'smilies/'); 15 15 define('SMILIES_ADMIN', get_root_url() . 'admin.php?page=plugin-' . SMILIES_ID); 16 define('SMILIES_VERSION', 'auto');17 18 16 19 17 include_once(SMILIES_PATH.'include/functions.inc.php'); … … 41 39 global $conf; 42 40 43 include_once(SMILIES_PATH . 'maintain.inc.php'); 44 $maintain = new SmiliesSupport_maintain(SMILIES_ID); 45 $maintain->autoUpdate(SMILIES_VERSION, 'install'); 46 47 $conf['smiliessupport'] = unserialize($conf['smiliessupport']); 41 $conf['smiliessupport'] = safe_unserialize($conf['smiliessupport']); 48 42 $conf['smiliessupport_ext'] = array('gif', 'jpg', 'png', 'GIF', 'JPG', 'PNG'); 49 43
Note: See TracChangeset
for help on using the changeset viewer.