summaryrefslogtreecommitdiffstats
path: root/static/api/vendor/composer/platform_check.php
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-22 14:07:46 +0200
committerDanilo M. <danix@danix.xyz>2026-04-22 14:07:46 +0200
commitc2f805c17713bc60a9cc8a353cf393226395ca46 (patch)
treecdaf815f617bd38dd5351e3feb46d4947362cf62 /static/api/vendor/composer/platform_check.php
parentb97022c6fd5351215adabfa90ef9c5c191ad8b7c (diff)
downloaddanixxyz-release_22042026-1408.tar.gz
danixxyz-release_22042026-1408.zip
Update: modified mail form backend for danix.xyz and added vendor folderrelease_22042026-1408
Diffstat (limited to 'static/api/vendor/composer/platform_check.php')
-rw-r--r--static/api/vendor/composer/platform_check.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/static/api/vendor/composer/platform_check.php b/static/api/vendor/composer/platform_check.php
new file mode 100644
index 0000000..103a1ff
--- /dev/null
+++ b/static/api/vendor/composer/platform_check.php
@@ -0,0 +1,25 @@
+<?php
+
+// platform_check.php @generated by Composer
+
+$issues = array();
+
+if (!(PHP_VERSION_ID >= 50500)) {
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 5.5.0". You are running ' . PHP_VERSION . '.';
+}
+
+if ($issues) {
+ if (!headers_sent()) {
+ header('HTTP/1.1 500 Internal Server Error');
+ }
+ if (!ini_get('display_errors')) {
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
+ fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
+ } elseif (!headers_sent()) {
+ echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
+ }
+ }
+ throw new \RuntimeException(
+ 'Composer detected issues in your platform: ' . implode(' ', $issues)
+ );
+}