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 |
error_handler.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 namespace phpbb\debug;
15
16 use Symfony\Component\Debug\ErrorHandler;
17
18 class error_handler extends ErrorHandler
19 {
20 public function handleError($type, $message, $file, $line, array $context, array $backtrace = null)
21 {
22 if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
23 {
24 $handler = defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler';
25
26 $handler($type, $message, $file, $line);
27 }
28
29 return parent::handleError($type, $message, $file, $line, $context, $backtrace);
30 }
31 }
32