38 lines
1.5 KiB
PHP
38 lines
1.5 KiB
PHP
<?php
|
|
|
|
// scoper-autoload.php @generated by PhpScoper
|
|
|
|
// Backup the autoloaded Composer files
|
|
if (isset($GLOBALS['__composer_autoload_files'])) {
|
|
$existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'];
|
|
}
|
|
|
|
$loader = require_once __DIR__.'/autoload.php';
|
|
// Ensure InstalledVersions is available
|
|
$installedVersionsPath = __DIR__.'/composer/InstalledVersions.php';
|
|
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;
|
|
|
|
// Restore the backup
|
|
if (isset($existingComposerAutoloadFiles)) {
|
|
$GLOBALS['__composer_autoload_files'] = $existingComposerAutoloadFiles;
|
|
} else {
|
|
unset($GLOBALS['__composer_autoload_files']);
|
|
}
|
|
|
|
// Class aliases. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#class-aliases
|
|
if (!function_exists('humbug_phpscoper_expose_class')) {
|
|
function humbug_phpscoper_expose_class(string $exposed, string $prefixed): void {
|
|
if (!class_exists($exposed, false) && !interface_exists($exposed, false) && !trait_exists($exposed, false)) {
|
|
spl_autoload_call($prefixed);
|
|
}
|
|
}
|
|
}
|
|
humbug_phpscoper_expose_class('ComposerAutoloaderInit087ac1c88c9dd7b872309175c7c60d7d', 'Tassos\Vendor\ComposerAutoloaderInit087ac1c88c9dd7b872309175c7c60d7d');
|
|
|
|
// Function aliases. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
|
|
if (!function_exists('mmdb_autoload')) { function mmdb_autoload() { return \Tassos\Vendor\mmdb_autoload(...func_get_args()); } }
|
|
|
|
return $loader;
|