pay/includes/qrcodedecoder/bootstrap.php
2025-11-28 10:08:12 +08:00

12 lines
304 B
PHP

<?php
require_once 'Zxing/Common/customFunctions.php';
spl_autoload_register(function (string $className) {
$filePath = __DIR__ . DIRECTORY_SEPARATOR . $className;
$filePath = str_replace('\\', DIRECTORY_SEPARATOR, $filePath) . '.php';
if (file_exists($filePath)) {
require_once $filePath;
}
});