Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.22.202
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
symfony /
debug /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2018-11-28 09:00
FatalErrorHandler
[ DIR ]
drwxr-xr-x
2018-11-28 09:00
Tests
[ DIR ]
drwxr-xr-x
2018-11-28 09:00
.gitignore
34
B
-rw-r--r--
2018-11-28 09:00
BufferingLogger.php
752
B
-rw-r--r--
2018-11-28 09:00
CHANGELOG.md
1.4
KB
-rw-r--r--
2018-11-28 09:00
Debug.php
1.7
KB
-rw-r--r--
2018-11-28 09:00
DebugClassLoader.php
17.31
KB
-rw-r--r--
2018-11-28 09:00
ErrorHandler.php
25.98
KB
-rw-r--r--
2018-11-28 09:00
ExceptionHandler.php
32.96
KB
-rw-r--r--
2018-11-28 09:00
LICENSE
1.04
KB
-rw-r--r--
2018-11-28 09:00
README.md
482
B
-rw-r--r--
2018-11-28 09:00
composer.json
912
B
-rw-r--r--
2018-11-28 09:00
phpunit.xml.dist
988
B
-rw-r--r--
2018-11-28 09:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Debug; /** * Registers all the debug tools. * * @author Fabien Potencier <fabien@symfony.com> */ class Debug { private static $enabled = false; /** * Enables the debug tools. * * This method registers an error handler and an exception handler. * * @param int $errorReportingLevel The level of error reporting you want * @param bool $displayErrors Whether to display errors (for development) or just log them (for production) */ public static function enable($errorReportingLevel = E_ALL, $displayErrors = true) { if (static::$enabled) { return; } static::$enabled = true; if (null !== $errorReportingLevel) { error_reporting($errorReportingLevel); } else { error_reporting(E_ALL); } if (!\in_array(\PHP_SAPI, array('cli', 'phpdbg'), true)) { ini_set('display_errors', 0); ExceptionHandler::register(); } elseif ($displayErrors && (!filter_var(ini_get('log_errors'), FILTER_VALIDATE_BOOLEAN) || ini_get('error_log'))) { // CLI - display errors only if they're not already logged to STDERR ini_set('display_errors', 1); } if ($displayErrors) { ErrorHandler::register(new ErrorHandler(new BufferingLogger())); } else { ErrorHandler::register()->throwAt(0, true); } DebugClassLoader::enable(); } }