https://t.me/RX1948
Server : Apache
System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64
User : p141464 ( 418825)
PHP Version : 7.4.33.12
Disable Function : NONE
Directory :  /html/KMU-CSR-PLANER/wp-content/plugins/matomo/app/vendor/matomo/device-detector/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //html/KMU-CSR-PLANER/wp-content/plugins/matomo/app/vendor/matomo/device-detector/autoload.php
<?php

declare (strict_types=1);
namespace {
    /**
     * PSR-4 autoloader implementation for the DeviceDetector namespace.
     * First we define the 'dd_autoload' function, and then we register
     * it with 'spl_autoload_register' so that PHP knows to use it.
     */
    /**
     * Automatically include the file that defines <code>class</code>.
     *
     * @param string $class
     *     the name of the class to load
     *
     * @return void
     */
    function dd_autoload(string $class) : void
    {
        if (\false === \strpos($class, 'DeviceDetector\\')) {
            return;
        }
        $namespaceMap = ['DeviceDetector\\' => __DIR__ . '/'];
        foreach ($namespaceMap as $prefix => $dir) {
            /* First swap out the namespace prefix with a directory... */
            $path = \str_replace($prefix, $dir, $class);
            /* replace the namespace separator with a directory separator... */
            $path = \str_replace('\\', '/', $path);
            /* and finally, add the PHP file extension to the result. */
            $path .= '.php';
            /* $path should now contain the path to a PHP file defining $class */
            require $path;
        }
    }
    \spl_autoload_register('dd_autoload');
}

https://t.me/RX1948 - 2025