You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
11
vendor/oss-sdk/autoload.php
vendored
Executable file
11
vendor/oss-sdk/autoload.php
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
<?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');
|
Reference in New Issue
Block a user