dashboard
repositories
filestore
activity
search
login
zhaopin
/
zhaopin
园区招聘网站
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
提交
chengkun
2025-04-18
1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
[zhaopin/zhaopin.git]
/
app
/
include
/
oss
/
autoload.php
1
2
3
4
5
6
7
8
9
10
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');