![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/app/etc/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); //Register components (via a list of glob patterns) namespace Magento\NonComposerComponentRegistration; use RuntimeException; /** * Include files from a list of glob patterns */ (static function (): void { $globPatterns = require __DIR__ . '/registration_globlist.php'; $baseDir = \dirname(__DIR__, 2) . '/'; foreach ($globPatterns as $globPattern) { // Sorting is disabled intentionally for performance improvement $files = \glob($baseDir . $globPattern, GLOB_NOSORT); if ($files === false) { throw new RuntimeException("glob(): error with '$baseDir$globPattern'"); } \array_map( static function (string $file): void { require_once $file; }, $files ); } })();