Spaces:
Runtime error
Runtime error
File size: 169 Bytes
ae8c95b |
1 2 3 4 5 6 7 8 |
<?php
spl_autoload_register(function ($class) {
$classPath = __DIR__ . '/classes/' . $class . '.php';
if (file_exists($classPath)) {
require_once $classPath;
}
}); |