mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 12:43:15 +01:00
7d7c7d8199
PHPBB3-16936
44 lines
1.8 KiB
PHP
44 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
*
|
|
* This file is part of the phpBB Forum Software package.
|
|
*
|
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
*
|
|
* For full copyright and license information, please see
|
|
* the docs/CREDITS.txt file.
|
|
*
|
|
*/
|
|
|
|
define('IN_PHPBB', true);
|
|
define('PHPBB_ENVIRONMENT', 'test');
|
|
|
|
$phpbb_root_path = 'phpBB/';
|
|
$phpEx = 'php';
|
|
|
|
global $table_prefix;
|
|
require_once $phpbb_root_path . 'includes/startup.php';
|
|
|
|
$table_prefix = 'phpbb_';
|
|
require_once $phpbb_root_path . 'includes/constants.php';
|
|
require_once $phpbb_root_path . 'phpbb/class_loader.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_acp.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_admin.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_compatibility.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_compress.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_content.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_display.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_mcp.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_messenger.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_module.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_posting.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_transfer.' . $phpEx;
|
|
require_once $phpbb_root_path . 'includes/functions_user.' . $phpEx;
|
|
|
|
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', $phpbb_root_path . 'phpbb/', "php");
|
|
$phpbb_class_loader->register();
|