summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/composer/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail/composer/autoload.php')
-rw-r--r--apps/sharebymail/composer/autoload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/sharebymail/composer/autoload.php b/apps/sharebymail/composer/autoload.php
index da43a4ff256..bef284b432f 100644
--- a/apps/sharebymail/composer/autoload.php
+++ b/apps/sharebymail/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 ComposerAutoloaderInitShareByMail::getLoader();