Nextrek
@ 1464
Nextrek / Aiba_backup / vendor / d11wtq / boris / lib / autoload.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<?php /* vim: set shiftwidth=2 expandtab softtabstop=2: */ /** * Custom autoloader for non-composer installations. */ spl_autoload_register(function($class) { if ($class[0] == '\\') { $class = substr($class, 1); } $path = sprintf('%s/%s.php', __DIR__, implode('/', explode('\\', $class))); if (is_file($path)) { require_once($path); } }); |
Commits for Nextrek/Aiba_backup/vendor/d11wtq/boris/lib/autoload.php
Revision | Author | Commited | Message |
---|---|---|---|
1464 | MOliva | Tue 13 Oct, 2020 11:16:56 +0000 |