mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 21:47:59 +01:00
48 lines
1.5 KiB
PHP
48 lines
1.5 KiB
PHP
<?php
|
|
|
|
// autoload_real.php generated by Composer
|
|
|
|
class ComposerAutoloaderInita1fb7abacafe9eba7b46e2d4ded6e3a5
|
|
{
|
|
private static $loader;
|
|
|
|
public static function loadClassLoader($class)
|
|
{
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
require __DIR__ . '/ClassLoader.php';
|
|
}
|
|
}
|
|
|
|
public static function getLoader()
|
|
{
|
|
if (null !== self::$loader) {
|
|
return self::$loader;
|
|
}
|
|
|
|
spl_autoload_register(array('ComposerAutoloaderInita1fb7abacafe9eba7b46e2d4ded6e3a5', 'loadClassLoader'), true, true);
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
|
spl_autoload_unregister(array('ComposerAutoloaderInita1fb7abacafe9eba7b46e2d4ded6e3a5', 'loadClassLoader'));
|
|
|
|
$vendorDir = dirname(__DIR__);
|
|
$baseDir = dirname($vendorDir);
|
|
|
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
|
foreach ($map as $namespace => $path) {
|
|
$loader->set($namespace, $path);
|
|
}
|
|
|
|
$classMap = require __DIR__ . '/autoload_classmap.php';
|
|
if ($classMap) {
|
|
$loader->addClassMap($classMap);
|
|
}
|
|
|
|
$loader->register(true);
|
|
|
|
require $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php';
|
|
require $vendorDir . '/ircmaxell/password-compat/lib/password.php';
|
|
require $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php';
|
|
require $vendorDir . '/kriswallsmith/assetic/src/functions.php';
|
|
|
|
return $loader;
|
|
}
|
|
}
|