Skip to content

Commit

Permalink
Added symfony/polyfill-php83 in system/vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 13, 2024
1 parent 4143136 commit ddccf79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upload/system/vendor.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
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');
// symfony/polyfill-php83
$autoloader->register('Symfony\Polyfill\Php83', DIR_STORAGE . 'vendor/symfony/polyfill-php83//', true);
if (is_file(DIR_STORAGE . 'vendor/symfony/polyfill-php83/bootstrap.php')) {
require_once(DIR_STORAGE . 'vendor/symfony/polyfill-php83/bootstrap.php');
}

// twig/twig
Expand Down

0 comments on commit ddccf79

Please sign in to comment.