Changeset 18127 for extensions/Autosize/maintain.inc.php
- Timestamp:
- Sep 22, 2012, 11:46:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/maintain.inc.php
r17503 r18127 59 59 function plugin_deactivate(){ 60 60 global $conf ; 61 61 62 if (isset($conf['cl_derivatives_sav'])) { 62 63 $arr = @unserialize($conf['cl_derivatives_sav']); 63 64 if(isset($arr['d'])){ 65 $conf['derivatives'] = $conf['cl_derivatives_sav']; 64 66 $query = ' 65 67 UPDATE '.CONFIG_TABLE.' … … 72 74 pwg_query($q); 73 75 } 74 } 76 } 77 $model= $conf['derivative_default_size']; 78 $_COOKIE ['picture_deriv'] = $model; 79 $_COOKIE ['picture_map'] = $model; 80 pwg_set_session_var('picture_deriv', $model); 81 75 82 } 76 83
Note: See TracChangeset
for help on using the changeset viewer.