Line | |
---|
1 | <?php |
---|
2 | defined('SUBSCRIBE_TO_PATH') or die('Hacking attempt!'); |
---|
3 | |
---|
4 | if (isset($_POST['config_submit'])) |
---|
5 | { |
---|
6 | $conf['Subscribe_to_Comments'] = array( |
---|
7 | 'notify_admin_on_subscribe' => isset($_POST['notify_admin_on_subscribe']), |
---|
8 | 'allow_global_subscriptions' => isset($_POST['allow_global_subscriptions']), |
---|
9 | ); |
---|
10 | |
---|
11 | conf_update_param('Subscribe_to_Comments', serialize($conf['Subscribe_to_Comments'])); |
---|
12 | $page['infos'][] = l10n('Information data registered in database'); |
---|
13 | } |
---|
14 | |
---|
15 | |
---|
16 | $template->assign($conf['Subscribe_to_Comments']); |
---|
17 | |
---|
18 | $template->set_filename('stc_admin', realpath(SUBSCRIBE_TO_PATH . 'admin/template/config.tpl')); |
---|
Note: See
TracBrowser
for help on using the repository browser.