审查视图

simplewind/vendor/qiniu/php-sdk/autoload.php 304 字节
lihan authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?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';