Changeset 30459


Ignore:
Timestamp:
Nov 12, 2014, 2:08:03 PM (9 years ago)
Author:
plg
Message:

avoid using load_conf_from_db

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/admin/admin.inc.php

    r20443 r30459  
    6969        $config['maxThumb']=15;
    7070
    71         conf_update_param('stripped', pwg_db_real_escape_string(serialize($config)));
    72 
     71        conf_update_param('stripped', $config, true);
    7372        array_push($page['infos'], l10n('stripped Configuration updated'));
    74 
    75   load_conf_from_db();
    7673}
    7774
     
    7976    'theme_admin_content' => dirname(__FILE__) . '/admin.tpl'));
    8077
    81 $template->assign('options', unserialize($conf['stripped']));
     78$template->assign('options', safe_unserialize($conf['stripped']));
    8279
    8380$template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content');
Note: See TracChangeset for help on using the changeset viewer.