PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

Qiniu
autoload.php
wget 'https://sme10.lists2.roe3.org/kodbox/app/sdks/IO/qiniu/autoload.php'
View Content
<?php

function qnClassLoader($class)
{
    $path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
    // $file = __DIR__ . '/src/' . $path . '.php';
	$file = __DIR__ . '/' . $path . '.php';

    if (file_exists($file)) {
        require_once $file;
    }
}
spl_autoload_register('qnClassLoader');

require_once  __DIR__ . '/Qiniu/functions.php';