oont-contents/plugins/wpify-woo/deps/scoper-autoload.php
2025-02-10 13:57:45 +01:00

27 lines
1 KiB
PHP

<?php
// scoper-autoload.php @generated by PhpScoper
$loader = (static function () {
// Backup the autoloaded Composer files
$existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $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 and ensure the excluded files are properly marked as loaded
$GLOBALS['__composer_autoload_files'] = \array_merge(
$existingComposerAutoloadFiles,
\array_fill_keys([], true)
);
return $loader;
})();
// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
// if (!function_exists('getallheaders')) { function getallheaders() { return \WpifyWooDeps\getallheaders(...func_get_args()); } }
return $loader;