10 lines
195 B
PHP
Executable File
10 lines
195 B
PHP
Executable File
<?php
|
|
|
|
spl_autoload_register(function($class)
|
|
{
|
|
$file = __DIR__.'/../lib/'.strtr($class, '\\', '/').'.php';
|
|
if (file_exists($file)) {
|
|
require $file;
|
|
return true;
|
|
}
|
|
}); |