about summary refs log tree commit diff stats
path: root/update/plugin/phpBB3/trunk/root/instadisc.php
diff options
context:
space:
mode:
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/instadisc.php')
-rw-r--r--update/plugin/phpBB3/trunk/root/instadisc.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/update/plugin/phpBB3/trunk/root/instadisc.php b/update/plugin/phpBB3/trunk/root/instadisc.php new file mode 100644 index 0000000..76771f7 --- /dev/null +++ b/update/plugin/phpBB3/trunk/root/instadisc.php
@@ -0,0 +1,37 @@
1<?php
2/**
3*
4* @package phpBB3
5* @version $Id: instadisc.php 2008-08-06 07:12:00Z hatkirby $
6* @version (c) 2008 Starla Insigna
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License
8*
9*/
10
11/**
12* @ignore
13*/
14define('IN_PHPBB', true);
15$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
16$phpEx = substr(strrchr(__FILE__, '.'), 1);
17include($phpbb_root_path . 'common.' . $phpEx);
18include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
19
20// Start session
21$user->session_begin();
22$auth->acl($user->data);
23
24$user->setup('mods/instadisc', $forum_data['forum_style']);
25
26$template->set_filenames(array(
27 'body' => 'instadisc.html')
28);
29
30$template->assign_vars(array(
31 'S_SUBSCRIPTION' => ($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/'),
32 'S_TITLE' => $config['id_subscription_title'],
33));
34
35page_footer();
36
37?>