-
Notifications
You must be signed in to change notification settings - Fork 8
/
dbtest.php
46 lines (33 loc) · 885 Bytes
/
dbtest.php
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
39
40
41
42
43
44
45
<?php
/**
*
* @package phpBB3
* @version $Id: index.php,v 1.176 2007/10/05 14:30:06 acydburn Exp $
* @copyright (c) 2005 phpBB Group
* @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 management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
$result = $db->sql_query("SELECT VERSION();");
$row = $db->sql_fetchrow($result);
trigger_error(implode(", ",$row));
trigger_error($row[0]);
page_header('RolePlayGateway Video Chat!');
$template->set_filenames(array(
'body' => 'video_chat.html')
);
page_footer();
?>