Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 214 Bytes
<?php
function trivial_autoload($class) {
$file = __DIR__ . '/' . str_replace('\\', '/', $class) . '.php';
if(is_file($file)) require_once($file);
}
spl_autoload_register('trivial_autoload', true, false);