diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-06 22:56:04 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-06 22:56:04 +0000 |
commit | 64fceb3bca037650e80e6b7bf3dab1d323fc4abb (patch) | |
tree | 28a725d6114a715a7690b1402e3555e466048f0a /update/plugin/phpBB3/trunk/root/instadisc.php | |
parent | 9c8c1d163cc74e51a46d17e5359723e71a23d1ee (diff) | |
download | instadisc-64fceb3bca037650e80e6b7bf3dab1d323fc4abb.tar.gz instadisc-64fceb3bca037650e80e6b7bf3dab1d323fc4abb.tar.bz2 instadisc-64fceb3bca037650e80e6b7bf3dab1d323fc4abb.zip |
Update: Centralized Central in phpBB3
Also removed subscription.php due to the new subscription specification (#28) Refs #52 and #28
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/instadisc.php')
-rw-r--r-- | update/plugin/phpBB3/trunk/root/instadisc.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/update/plugin/phpBB3/trunk/root/instadisc.php b/update/plugin/phpBB3/trunk/root/instadisc.php deleted file mode 100644 index 6cd00bb..0000000 --- a/update/plugin/phpBB3/trunk/root/instadisc.php +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
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 | */ | ||
14 | define('IN_PHPBB', true); | ||
15 | $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; | ||
16 | $phpEx = substr(strrchr(__FILE__, '.'), 1); | ||
17 | include($phpbb_root_path . 'common.' . $phpEx); | ||
18 | include($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' => (generate_board_url() . '/'), | ||
32 | 'S_TITLE' => $config['id_subscription_title'], | ||
33 | 'S_KEY' => $config['id_activation_key'], | ||
34 | )); | ||
35 | |||
36 | page_footer(); | ||
37 | |||
38 | ?> | ||