tapes/brain/Loader.php
Ro b72650ed2f Intial Project Commit
first commit to get all the project files in there
2025-03-05 16:14:37 -06:00

10 lines
252 B
PHP

<?php
spl_autoload_register(function ($className) {
$file = dirname(__DIR__) . "\\" . $className . ".php";
$file = str_replace("\\", DIRECTORY_SEPARATOR, $file);
//echo $file;
if (file_exists($file)) {
include $file;
}
});