lockfile again
This commit is contained in:
14
vendor/league/csv/autoload.php
vendored
Normal file
14
vendor/league/csv/autoload.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user