Changeset 14251 for trunk/admin/configuration.php
- Timestamp:
- Apr 21, 2012, 12:56:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r14228 r14251 249 249 load_conf_from_db(); 250 250 } 251 elseif (isset($_POST['restore_settings'])) 251 252 // restore default derivatives settings 253 if ('sizes' == $page['section'] and isset($_GET['action']) and 'restore_settings' == $_GET['action']) 252 254 { 253 255 ImageStdParams::set_and_save( ImageStdParams::get_default_sizes() ); 254 256 pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param = \'disabled_derivatives\''); 255 257 clear_derivative_cache(); 258 259 array_push( 260 $page['infos'], 261 l10n('Your configuration settings are saved') 262 ); 256 263 } 257 264
Note: See TracChangeset
for help on using the changeset viewer.