HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/matomo.vdk/vendor/davaxi/sparkline/src/autoload.php
<?php

spl_autoload_register(
    function ($className) {
        $classPath = explode('\\', $className);
        if ($classPath[0] !== 'Davaxi') {
            return;
        }
        // Drop 'Davaxi', and maximum file path depth in this project is 1
        $classPath = array_slice($classPath, 1, 2);
        $filePath = __DIR__ . '/' . implode('/', $classPath) . '.php';
        if (file_exists($filePath)) {
            require_once($filePath);
        }
    }
);