Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.214 kb
<?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);
Jump to Line
Something went wrong with that request. Please try again.