Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
faq.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 /**
15 * @ignore
16 */
17 define('IN_PHPBB', true);
18 $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
19 $phpEx = substr(strrchr(__FILE__, '.'), 1);
20 include($phpbb_root_path . 'common.' . $phpEx);
21
22 // Start session management
23 $user->session_begin();
24 $auth->acl($user->data);
25 $user->setup();
26
27 /** @var \phpbb\controller\helper $controller_helper */
28 $controller_helper = $phpbb_container->get('controller.helper');
29
30 $response = new \Symfony\Component\HttpFoundation\RedirectResponse(
31 $controller_helper->route(
32 $request->variable('mode', 'faq') === 'bbcode' ? 'phpbb_help_bbcode_controller' : 'phpbb_help_faq_controller'
33 ),
34 301
35 );
36 $response->send();
37