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
14 lines
324 B
<?php
|
|
function ajax_options_save($get_param, $post_param) {
|
|
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']));
|