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 |
app.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 define('IN_INSTALL', true);
19 define('PHPBB_ENVIRONMENT', 'production');
20 $phpbb_root_path = '../';
21 $phpEx = substr(strrchr(__FILE__, '.'), 1);
22
23 $startup_new_path = $phpbb_root_path . 'install/update/update/new/install/startup.' . $phpEx;
24 $startup_path = (file_exists($startup_new_path)) ? $startup_new_path : $phpbb_root_path . 'install/startup.' . $phpEx;
25 require($startup_path);
26
27 /** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
28 $phpbb_filesystem = $phpbb_installer_container->get('filesystem');
29
30 /** @var \phpbb\template\template $template */
31 $template = $phpbb_installer_container->get('template');
32
33 // Path to templates
34 $paths = array($phpbb_root_path . 'install/update/new/adm/style', $phpbb_admin_path . 'style');
35 $paths = array_filter($paths, 'is_dir');
36
37 $template->set_custom_style(array(
38 array(
39 'name' => 'adm',
40 'ext_path' => 'adm/style/',
41 ),
42 ), $paths);
43
44 /** @var $phpbb_dispatcher \phpbb\event\dispatcher */
45 $phpbb_dispatcher = $phpbb_installer_container->get('dispatcher');
46
47 /** @var \phpbb\language\language $language */
48 $language = $phpbb_installer_container->get('language');
49 $language->add_lang(array('common', 'acp/common', 'acp/board', 'install', 'posting'));
50
51 /** @var $http_kernel \Symfony\Component\HttpKernel\HttpKernel */
52 $http_kernel = $phpbb_installer_container->get('http_kernel');
53
54 /** @var $symfony_request \phpbb\symfony_request */
55 $symfony_request = $phpbb_installer_container->get('symfony_request');
56 $response = $http_kernel->handle($symfony_request);
57 $response->send();
58 $http_kernel->terminate($symfony_request, $response);
59