Changeset 11059 for extensions/stripped/admin/admin.inc.php
- Timestamp:
- May 25, 2011, 9:36:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/admin/admin.inc.php
r10688 r11059 19 19 $config['replaceActionIcons']=isset($_POST['f_replaceActionIcons']); 20 20 $config['noLowercase']=!isset($_POST['f_forceLowercase']); 21 $config['showThumbLegend']=isset($_POST['f_showThumbLegend']); 21 22 $config['showTitleOnBrowsePath']=isset($_POST['f_showTitleOnBrowsePath']); 22 23 $config['showDescriptionInsteadOfTitle']=isset($_POST['f_showDescriptionInsteadOfTitle']); … … 34 35 35 36 36 $query = ' 37 UPDATE '.CONFIG_TABLE.' 38 SET value = "'.addslashes(serialize($config)).'" 39 WHERE param = "stripped" 40 ;'; 41 pwg_query($query); 37 conf_update_param('stripped', pwg_db_real_escape_string(serialize($config))); 42 38 43 39 array_push($page['infos'], l10n('Information data registered in database'));
Note: See TracChangeset
for help on using the changeset viewer.