You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/console
+2-25Lines changed: 2 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -9,32 +9,9 @@ use Symfony\Component\Dotenv\Dotenv;
9
9
10
10
set_time_limit(0);
11
11
12
-
require__DIR__.'/../vendor/autoload.php';
13
-
14
-
if (!class_exists(Application::class)) {
15
-
thrownew \RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.');
16
-
}
17
-
18
-
$_SERVER['APP_ENV']='helloworld';
19
-
if (!isset($_SERVER['APP_ENV'])) {
20
-
if (!class_exists(Dotenv::class)) {
21
-
thrownew \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.');
0 commit comments