mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-12-26 20:44:07 +00:00
12 lines
327 B
PHP
12 lines
327 B
PHP
<?php
|
|
|
|
set_include_path(__DIR__ . PATH_SEPARATOR . get_include_path());
|
|
|
|
function simpleAutoloader($class)
|
|
{
|
|
require_once __DIR__ . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
|
|
}
|
|
|
|
// PHP 7.0's default autoloader seems to have problems with PSR-4
|
|
spl_autoload_register('simpleAutoloader');
|