summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/composer/autoload.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-13 10:52:26 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-14 12:11:02 +0200
commit1c7ecfc54499d866b9913c135c0c7439634d8bb1 (patch)
tree162eff580adaa1fe92a3806625f452caf525c738 /apps/provisioning_api/composer/autoload.php
parent781784553889601d02553931aed8ff1fde95640b (diff)
downloadnextcloud-server-1c7ecfc54499d866b9913c135c0c7439634d8bb1.tar.gz
nextcloud-server-1c7ecfc54499d866b9913c135c0c7439634d8bb1.zip
Fix an issue with the search backend update
And update autoloader Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/provisioning_api/composer/autoload.php')
-rw-r--r--apps/provisioning_api/composer/autoload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/provisioning_api/composer/autoload.php b/apps/provisioning_api/composer/autoload.php
index 9734ee42b19..d01dfa2c74b 100644
--- a/apps/provisioning_api/composer/autoload.php
+++ b/apps/provisioning_api/composer/autoload.php
@@ -2,6 +2,11 @@
// autoload.php @generated by Composer
+if (PHP_VERSION_ID < 50600) {
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
+ exit(1);
+}
+
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitProvisioning_API::getLoader();