Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/matomo/app/plugins/Monolog/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/plugins/matomo/app/plugins/Monolog/config/tracker.php
<?php

namespace {
    use Piwik\Container\Container;
    function isTrackerDebugEnabled(Container $c)
    {
        $trackerDebug = $c->get("ini.Tracker.debug");
        return $trackerDebug == 1 || !empty($GLOBALS['PIWIK_TRACKER_DEBUG']);
    }
    return array('ini.log.log_writers' => \Piwik\DI::decorate(function ($previous, Container $c) {
        if (\isTrackerDebugEnabled($c) && \Piwik\Common::isPhpCliMode()) {
            $previous[] = 'screen';
            $previous = \array_unique($previous);
        }
        return $previous;
    }), 'log.handler.classes' => \Piwik\DI::decorate(function ($previous, Container $c) {
        if (isset($previous['screen']) && \isTrackerDebugEnabled($c)) {
            $previous['screen'] = 'Piwik\\Plugins\\Monolog\\Handler\\EchoHandler';
        } else {
            unset($previous['screen']);
        }
        return $previous;
    }), 'log.level' => \Piwik\DI::decorate(function ($previous, Container $c) {
        if (\isTrackerDebugEnabled($c)) {
            return \Piwik\Log\Logger::DEBUG;
        }
        return $previous;
    }));
}

ZeroDay Forums Mini