Move php8.php to /app/libraries/polyfill/

This commit is contained in:
the-djmaze 2024-02-25 20:13:39 +01:00
parent 5262e59fdd
commit c6aad25581
3 changed files with 77 additions and 38 deletions

View file

@ -5,7 +5,7 @@ if (defined('APP_VERSION_ROOT_PATH')) {
// PHP 8
if (\PHP_VERSION_ID < 80000) {
require __DIR__ . '/php8.php';
require __DIR__ . '/app/libraries/polyfill/php8.php';
}
if (!defined('APP_VERSION')) {