Skip to content

Commit

Permalink
Added symfony/polyfill-php80 vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 11, 2024
1 parent 568cb80 commit cec67b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions upload/system/vendor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit cec67b4

Please sign in to comment.