Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 94dccf1

Browse files
committed
removed error message in autoload.php as the check is already be done in check.php and config.php
1 parent 526c2cc commit 94dccf1

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

app/autoload.php

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,7 @@
22

33
use Doctrine\Common\Annotations\AnnotationRegistry;
44

5-
if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
6-
7-
$message = <<< EOF
8-
<p>You must set up the project dependencies by running the following commands:</p>
9-
<pre>
10-
curl -s http://getcomposer.org/installer | php
11-
php composer.phar install
12-
</pre>
13-
14-
EOF;
15-
16-
if (PHP_SAPI === 'cli') {
17-
$message = strip_tags($message);
18-
}
19-
20-
die($message);
21-
}
5+
$loader = include __DIR__.'/../vendor/autoload.php';
226

237
// intl
248
if (!function_exists('intl_get_error_code')) {

0 commit comments

Comments
 (0)