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

20 lines (16 sloc) 0.37 kb
<?php
function tracksAutoloader($className)
{
$file = __DIR__
.DIRECTORY_SEPARATOR
.'..'
.DIRECTORY_SEPARATOR
.'library'
.DIRECTORY_SEPARATOR
.str_replace('\\', DIRECTORY_SEPARATOR, $className)
.'.php';
if (file_exists($file)) {
include $file;
}
}
spl_autoload_register('tracksAutoloader');
Jump to Line
Something went wrong with that request. Please try again.