You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
369 B

<?php
function ajax_options_save($get_param, $postdata) {
$post_param = json_decode($postdata, true);
call_hooks('options_save', $post_param);
$_SESSION['options'] = $post_param;
return array('success' => true);
}
if (!array_key_exists('options', $_SESSION)) {
$_SESSION['options'] = array();
}
html_export_var(array('options' => $_SESSION['options']));