Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 12 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | /** |
| 15 | */ |
| 16 | |
| 17 | /** |
| 18 | * @ignore |
| 19 | */ |
| 20 | define('IN_PHPBB', true); |
| 21 | $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; |
| 22 | $phpEx = substr(strrchr(__FILE__, '.'), 1); |
| 23 | include($phpbb_root_path . 'common.' . $phpEx); |
| 24 | |
| 25 | // Start session management |
| 26 | $user->session_begin(); |
| 27 | $auth->acl($user->data); |
| 28 | $user->setup('app'); |
| 29 | |
| 30 | /* @var $http_kernel \Symfony\Component\HttpKernel\HttpKernel */ |
| 31 | $http_kernel = $phpbb_container->get('http_kernel'); |
| 32 | |
| 33 | /* @var $symfony_request \phpbb\symfony_request */ |
| 34 | $symfony_request = $phpbb_container->get('symfony_request'); |
| 35 | $response = $http_kernel->handle($symfony_request); |
| 36 | $response->send(); |
| 37 | $http_kernel->terminate($symfony_request, $response); |