amdp3-metaforums/autoload.php
2019-11-19 02:18:37 +07:00

15 lines
250 B
PHP

<?php
/*
autoload.php
Contains a simple autoloader function
*/
function mitsumine_autoloader($class) {
$file = str_replace('\\',DIRECTORY_SEPARATOR,$class);
require $file.'.php';
}
spl_autoload_register('mitsumine_autoloader');