blob: 76771f72456a1f7cf427fb57a313fde0511ee5c0 (
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
|
<?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' => ($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/'),
'S_TITLE' => $config['id_subscription_title'],
));
page_footer();
?>
|