Files
huangjingfen/pro_v3.5.1/vendor/aliyuncs/oss-sdk-php/autoload.php
panchengyong 7acbf45ff7 new files
2026-03-07 22:29:07 +08:00

11 lines
289 B
PHP
Executable File

<?php
function classLoader($class)
{
$path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
$file = __DIR__ . DIRECTORY_SEPARATOR .'src'. DIRECTORY_SEPARATOR . $path . '.php';
if (file_exists($file)) {
require_once $file;
}
}
spl_autoload_register('classLoader');