您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
|
<?php
|
|
spl_autoload_register(function ($class) {
|
|
// Uncomment for debugging
|
|
//echo 'Looking for class ' . $class . "\n";
|
|
|
|
$file = __DIR__ . DIRECTORY_SEPARATOR . str_replace('\\', '/', $class) . '.php';
|
|
|
|
if (file_exists($file)) {
|
|
require($file);
|
|
}
|
|
}); |