/
home
/
u417168693
/
domains
/
devtechera.com
/
public_html
/
app
/
Config
/
/home/u417168693/domains/devtechera.com/public_html/app/Config
mkdir
upload
Name
Size
Mode
Actions
Boot/
-
0755
rm
App.php
8174
0644
edit
dl
rm
Autoload.php
3031
0644
edit
dl
rm
Cache.php
6245
0644
edit
dl
rm
Constants.php
3986
0644
edit
dl
rm
ContentSecurityPolicy.php
4226
0644
edit
dl
rm
Cookie.php
3554
0644
edit
dl
rm
Cors.php
3511
0644
edit
dl
rm
CURLRequest.php
551
0644
edit
dl
rm
Database.php
6988
0644
edit
dl
rm
DocTypes.php
3080
0644
edit
dl
rm
Email.php
2333
0644
edit
dl
rm
Encryption.php
2844
0644
edit
dl
rm
Events.php
1875
0644
edit
dl
rm
Exceptions.php
4001
0644
edit
dl
rm
Feature.php
725
0644
edit
dl
rm
Filters.php
3358
0644
edit
dl
rm
ForeignCharacters.php
174
0644
edit
dl
rm
Format.php
2614
0644
edit
dl
rm
Generators.php
2133
0644
edit
dl
rm
Honeypot.php
855
0644
edit
dl
rm
Images.php
708
0644
edit
dl
rm
Kint.php
1983
0644
edit
dl
rm
Logger.php
5995
0644
edit
dl
rm
Migrations.php
1592
0644
edit
dl
rm
Mimes.php
15720
0644
edit
dl
rm
Modules.php
2313
0644
edit
dl
rm
Optimize.php
944
0644
edit
dl
rm
Pager.php
1189
0644
edit
dl
rm
Paths.php
2839
0644
edit
dl
rm
Publisher.php
807
0644
edit
dl
rm
Routes.php
5343
0644
edit
dl
rm
Routing.php
3681
0644
edit
dl
rm
Security.php
3415
0644
edit
dl
rm
Services.php
921
0644
edit
dl
rm
Session.php
4573
0644
edit
dl
rm
Toolbar.php
4556
0644
edit
dl
rm
UserAgents.php
9813
0644
edit
dl
rm
Validation.php
1192
0644
edit
dl
rm
View.php
2112
0644
edit
dl
rm
Edit:
/home/u417168693/domains/devtechera.com/public_html/app/Config/Exceptions.php
(4001B)
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Debug\ExceptionHandler; use CodeIgniter\Debug\ExceptionHandlerInterface; use Psr\Log\LogLevel; use Throwable; /** * Setup how the exception handler works. */ class Exceptions extends BaseConfig { /** * -------------------------------------------------------------------------- * LOG EXCEPTIONS? * -------------------------------------------------------------------------- * If true, then exceptions will be logged * through Services::Log. * * Default: true */ public bool $log = true; /** * -------------------------------------------------------------------------- * DO NOT LOG STATUS CODES * -------------------------------------------------------------------------- * Any status codes here will NOT be logged if logging is turned on. * By default, only 404 (Page Not Found) exceptions are ignored. * * @var list<int> */ public array $ignoreCodes = [404]; /** * -------------------------------------------------------------------------- * Error Views Path * -------------------------------------------------------------------------- * This is the path to the directory that contains the 'cli' and 'html' * directories that hold the views used to generate errors. * * Default: APPPATH.'Views/errors' */ public string $errorViewPath = APPPATH . 'Views/errors'; /** * -------------------------------------------------------------------------- * HIDE FROM DEBUG TRACE * -------------------------------------------------------------------------- * Any data that you would like to hide from the debug trace. * In order to specify 2 levels, use "/" to separate. * ex. ['server', 'setup/password', 'secret_token'] * * @var list<string> */ public array $sensitiveDataInTrace = []; /** * -------------------------------------------------------------------------- * WHETHER TO THROW AN EXCEPTION ON DEPRECATED ERRORS * -------------------------------------------------------------------------- * If set to `true`, DEPRECATED errors are only logged and no exceptions are * thrown. This option also works for user deprecations. */ public bool $logDeprecations = true; /** * -------------------------------------------------------------------------- * LOG LEVEL THRESHOLD FOR DEPRECATIONS * -------------------------------------------------------------------------- * If `$logDeprecations` is set to `true`, this sets the log level * to which the deprecation will be logged. This should be one of the log * levels recognized by PSR-3. * * The related `Config\Logger::$threshold` should be adjusted, if needed, * to capture logging the deprecations. */ public string $deprecationLogLevel = LogLevel::WARNING; /* * DEFINE THE HANDLERS USED * -------------------------------------------------------------------------- * Given the HTTP status code, returns exception handler that * should be used to deal with this error. By default, it will run CodeIgniter's * default handler and display the error information in the expected format * for CLI, HTTP, or AJAX requests, as determined by is_cli() and the expected * response format. * * Custom handlers can be returned if you want to handle one or more specific * error codes yourself like: * * if (in_array($statusCode, [400, 404, 500])) { * return new \App\Libraries\MyExceptionHandler(); * } * if ($exception instanceOf PageNotFoundException) { * return new \App\Libraries\MyExceptionHandler(); * } */ public function handler(int $statusCode, Throwable $exception): ExceptionHandlerInterface { return new ExceptionHandler($this); } }
Save
cmd:
run