blob: 6cd00bbbd1a58715fb07e59cebb27123c8266738 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<?php
/**
*
* @package phpBB3
* @version $Id: instadisc.php 2008-08-06 07:12:00Z hatkirby $
* @version (c) 2008 Starla Insigna
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/instadisc', $forum_data['forum_style']);
$template->set_filenames(array(
'body' => 'instadisc.html')
);
$template->assign_vars(array(
'S_SUBSCRIPTION' => (generate_board_url() . '/'),
'S_TITLE' => $config['id_subscription_title'],
'S_KEY' => $config['id_activation_key'],
));
page_footer();
?>
|