diff --git a/public/install.php b/public/install.php index 2d6c405..0e6de00 100644 --- a/public/install.php +++ b/public/install.php @@ -136,6 +136,14 @@ class BlueTwilightInstaller private function fetchComposerSignature() { + if (!boolval(ini_get('allow_url_fopen'))) + { + $this->echoError('allow_url_fopen is disabled so we cannot use Composer'); + echo '
'; + $this->echoError('You will need to install the vendor libraries manually - see this page for more details'); + return false; + } + $signatureUrl = 'https://composer.github.io/installer.sig'; $this->composerSignature = trim(file_get_contents($signatureUrl)); if (strlen($this->composerSignature) == 0)