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.

14 lines
324 B

  1. <?php
  2. function ajax_options_save($get_param, $post_param) {
  3. call_hooks('options_save', $post_param);
  4. $_SESSION['options'] = $post_param;
  5. return array('success' => true);
  6. }
  7. if (!array_key_exists('options', $_SESSION)) {
  8. $_SESSION['options'] = array();
  9. }
  10. html_export_var(array('options' => $_SESSION['options']));