Prevent file logging in web environments.
This commit is contained in:
parent
0507fbb9d1
commit
9958bdd205
3 changed files with 16 additions and 3 deletions
|
@ -24,7 +24,6 @@ class ConsoleLogging implements LogHandlerInterface
|
|||
*/
|
||||
public static function handle(Application $application, Event $event): void
|
||||
{
|
||||
// Check if the application is running in a CLI environment, if not, return
|
||||
if(!Utilities::runningInCli())
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue