first commit

This commit is contained in:
2025-07-18 16:20:14 +07:00
commit 98af45c018
16382 changed files with 3148096 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
spl_autoload_register(function($class) {
$parts = explode('\\', $class);
if (sizeof($parts) == 1) {
switch($class) {
case 'Crypt_CHAP':
case 'Crypt_CHAP_MD5':
case 'Crypt_CHAP_MSv1':
case 'Crypt_CHAP_MSv2':
require __DIR__ . '/lib/Pear_CHAP.php';
break;
}
} elseif (sizeof($parts) > 2) {
if ($parts[0] == 'Dapphp' && $parts[1] == 'Radius') {
require_once __DIR__ . '/src/' . $parts[2] . '.php';
}
}
});