mirror of
https://github.com/inigoflores/ds-codigos-postales-ine-es.git
synced 2024-09-20 00:01:03 +02:00
15 lines
356 B
PHP
15 lines
356 B
PHP
|
<?php
|
||
|
|
||
|
set_include_path(implode(PATH_SEPARATOR, array(
|
||
|
__DIR__,
|
||
|
__DIR__ . '/../src',
|
||
|
get_include_path()
|
||
|
)));
|
||
|
|
||
|
spl_autoload_register(function($className) {
|
||
|
if (substr($className, 0, 10) === 'ConsoleKit') {
|
||
|
$filename = str_replace('\\', DIRECTORY_SEPARATOR, trim($className, '\\')) . '.php';
|
||
|
require_once $filename;
|
||
|
}
|
||
|
});
|