/
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/Logger.php
(5995B)
<?php namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Log\Handlers\FileHandler; class Logger extends BaseConfig { /** * -------------------------------------------------------------------------- * Error Logging Threshold * -------------------------------------------------------------------------- * * You can enable error logging by setting a threshold over zero. The * threshold determines what gets logged. Any values below or equal to the * threshold will be logged. * * Threshold options are: * * - 0 = Disables logging, Error logging TURNED OFF * - 1 = Emergency Messages - System is unusable * - 2 = Alert Messages - Action Must Be Taken Immediately * - 3 = Critical Messages - Application component unavailable, unexpected exception. * - 4 = Runtime Errors - Don't need immediate action, but should be monitored. * - 5 = Warnings - Exceptional occurrences that are not errors. * - 6 = Notices - Normal but significant events. * - 7 = Info - Interesting events, like user logging in, etc. * - 8 = Debug - Detailed debug information. * - 9 = All Messages * * You can also pass an array with threshold levels to show individual error types * * array(1, 2, 3, 8) = Emergency, Alert, Critical, and Debug messages * * For a live site you'll usually enable Critical or higher (3) to be logged otherwise * your log files will fill up very fast. * * @var int|list<int> */ public $threshold = (ENVIRONMENT === 'production') ? 4 : 9; /** * -------------------------------------------------------------------------- * Date Format for Logs * -------------------------------------------------------------------------- * * Each item that is logged has an associated date. You can use PHP date * codes to set your own date formatting */ public string $dateFormat = 'Y-m-d H:i:s'; /** * -------------------------------------------------------------------------- * Log Handlers * -------------------------------------------------------------------------- * * The logging system supports multiple actions to be taken when something * is logged. This is done by allowing for multiple Handlers, special classes * designed to write the log to their chosen destinations, whether that is * a file on the getServer, a cloud-based service, or even taking actions such * as emailing the dev team. * * Each handler is defined by the class name used for that handler, and it * MUST implement the `CodeIgniter\Log\Handlers\HandlerInterface` interface. * * The value of each key is an array of configuration items that are sent * to the constructor of each handler. The only required configuration item * is the 'handles' element, which must be an array of integer log levels. * This is most easily handled by using the constants defined in the * `Psr\Log\LogLevel` class. * * Handlers are executed in the order defined in this array, starting with * the handler on top and continuing down. * * @var array<class-string, array<string, int|list<string>|string>> */ public array $handlers = [ /* * -------------------------------------------------------------------- * File Handler * -------------------------------------------------------------------- */ FileHandler::class => [ // The log levels that this handler will handle. 'handles' => [ 'critical', 'alert', 'emergency', 'debug', 'error', 'info', 'notice', 'warning', ], /* * The default filename extension for log files. * An extension of 'php' allows for protecting the log files via basic * scripting, when they are to be stored under a publicly accessible directory. * * NOTE: Leaving it blank will default to 'log'. */ 'fileExtension' => '', /* * The file system permissions to be applied on newly created log files. * * IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal * integer notation (i.e. 0700, 0644, etc.) */ 'filePermissions' => 0644, /* * Logging Directory Path * * By default, logs are written to WRITEPATH . 'logs/' * Specify a different destination here, if desired. */ 'path' => '', ], /* * The ChromeLoggerHandler requires the use of the Chrome web browser * and the ChromeLogger extension. Uncomment this block to use it. */ // 'CodeIgniter\Log\Handlers\ChromeLoggerHandler' => [ // /* // * The log levels that this handler will handle. // */ // 'handles' => ['critical', 'alert', 'emergency', 'debug', // 'error', 'info', 'notice', 'warning'], // ], /* * The ErrorlogHandler writes the logs to PHP's native `error_log()` function. * Uncomment this block to use it. */ // 'CodeIgniter\Log\Handlers\ErrorlogHandler' => [ // /* The log levels this handler can handle. */ // 'handles' => ['critical', 'alert', 'emergency', 'debug', 'error', 'info', 'notice', 'warning'], // // /* // * The message type where the error should go. Can be 0 or 4, or use the // * class constants: `ErrorlogHandler::TYPE_OS` (0) or `ErrorlogHandler::TYPE_SAPI` (4) // */ // 'messageType' => 0, // ], ]; }
Save
cmd:
run