[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
16
vendor/league/csv/autoload.php
vendored
Normal file
16
vendor/league/csv/autoload.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
require __DIR__ . '/src/functions_include.php';
|
||||
|
||||
spl_autoload_register(static function (string $class_name): void {
|
||||
|
||||
$prefix = 'League\Csv\\';
|
||||
if (!str_starts_with($class_name, $prefix)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$file = __DIR__ . '/src/' . str_replace('\\', '/', substr($class_name, 11)) . '.php';
|
||||
if (is_readable($file)) {
|
||||
require $file;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user