From 4b0dab50d559bb3c43e1b90310193691430e66b9 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Fri, 10 May 2024 10:21:56 +0300 Subject: [PATCH] Add PHP polyfills --- load.php | 1 + php-polyfills.php | 54 +++++++++++++++++++++++++++++++++++++++++++++ tests/bootstrap.php | 2 +- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 php-polyfills.php diff --git a/load.php b/load.php index a83daf0..785dbff 100644 --- a/load.php +++ b/load.php @@ -14,6 +14,7 @@ define( 'SQLITE_MAIN_FILE', __FILE__ ); +require_once __DIR__ . '/php-polyfills.php'; require_once __DIR__ . '/admin-page.php'; require_once __DIR__ . '/activate.php'; require_once __DIR__ . '/deactivate.php'; diff --git a/php-polyfills.php b/php-polyfills.php new file mode 100644 index 0000000..89d6d1a --- /dev/null +++ b/php-polyfills.php @@ -0,0 +1,54 @@ +