diff --git a/upload/system/vendor.php b/upload/system/vendor.php index e01def161..91376c068 100644 --- a/upload/system/vendor.php +++ b/upload/system/vendor.php @@ -52,5 +52,11 @@ require_once(DIR_STORAGE . 'vendor/symfony/polyfill-mbstring/bootstrap.php'); } +// symfony/polyfill-php80 +$autoloader->register('Symfony\Polyfill\Php80', DIR_STORAGE . 'vendor/symfony/polyfill-php80//', true); +if (is_file(DIR_STORAGE . 'vendor/symfony/polyfill-php80/bootstrap.php')) { + require_once(DIR_STORAGE . 'vendor/symfony/polyfill-php80/bootstrap.php'); +} + // twig/twig $autoloader->register('Twig', DIR_STORAGE . 'vendor/twig/twig/src/', true);