七牛云

This commit is contained in:
“wanyongkang”
2024-02-29 10:30:38 +08:00
parent ea969dafca
commit 3d3f588690
521 changed files with 13990 additions and 41150 deletions

19
vendor/qiniu/php-sdk/autoload.php vendored Normal file
View File

@@ -0,0 +1,19 @@
<?php
if ( file_exists(dirname(__FILE__).'/vendor/autoload.php') ) {
require_once dirname(__FILE__).'/vendor/autoload.php';
}
function classLoader($class)
{
$path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
$file = __DIR__ . '/src/' . $path . '.php';
if (file_exists($file)) {
require_once $file;
}
}
spl_autoload_register('classLoader');
require_once __DIR__ . '/src/Qiniu/functions.php';
require_once __DIR__ . '/src/Qiniu/Http/Middleware/Middleware.php';