schneespur/vendor/league/csv/autoload.php
Michael ee3dbba6cc Initial release v1.0.0
Schneespur — Open-source winter service documentation software (PWA + Admin).
GPS tracking via OwnTracks, weather data, photo evidence, and legally
compliant service records for winter maintenance operators.

License: AGPL-3.0-or-later
2026-05-17 13:33:51 +00:00

14 lines
339 B
PHP

<?php
require __DIR__ . '/src/functions_include.php';
spl_autoload_register(static function (string $class): void {
if (!str_starts_with($class, 'League\Csv\\')) {
return;
}
$file = __DIR__ . '/src/' . str_replace('\\', '/', substr($class, 11)).'.php';
if (is_readable($file)) {
require $file;
}
});