UrlManipulator-php/server/autoloader.php

10 lines
228 B
PHP
Raw Normal View History

2023-12-12 20:25:41 +00:00
<?php
function customAutoloader($className) {
$filePath = __DIR__ . '/' . str_replace('\\', '/', $className) . '.php';
if (file_exists($filePath)) {
include $filePath;
}
}
spl_autoload_register('customAutoloader');