We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0298d commit 4585f7dCopy full SHA for 4585f7d
bootstrap/bootstrap.php
@@ -12,12 +12,13 @@
12
$vendorDir = realpath(__DIR__.'/../../..');
13
14
if (!$loader = include $vendorDir.'/autoload.php') {
15
- $nl = PHP_SAPI === 'cli' ? PHP_EOL : '<br />';
16
- echo "$nl$nl";
17
- die('You must set up the project dependencies.'.$nl.
18
- 'Run the following commands in '.dirname(__DIR__).':'.$nl.$nl.
+ $nl = 'cli' === substr(PHP_SAPI, 0, 3) ? PHP_EOL : '<br />';
+ echo $nl.$nl.
+ 'You must set up the project dependencies.'.$nl.
+ 'Run the following commands in '.dirname($vendorDir).':'.$nl.$nl.
19
'curl -s http://getcomposer.org/installer | php'.$nl.
20
- 'php composer.phar install'.$nl);
+ 'php composer.phar install'.$nl;
21
+ exit(1);
22
}
23
24
use Doctrine\Common\Annotations\AnnotationRegistry;
0 commit comments