Skip to content

Commit d87f53b

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #555
2 parents 8bd4f13 + 693ec9e commit d87f53b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

symfony/console/3.3/bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ if ($_SERVER['APP_DEBUG']) {
3333
}
3434
}
3535

36-
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
36+
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'], dirname(__DIR__));
3737
$application = new Application($kernel);
3838
$application->run($input);

symfony/framework-bundle/4.2/public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Request::setTrustedHosts([$trustedHosts]);
2121
}
2222

23-
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
23+
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG'], dirname(__DIR__));
2424
$request = Request::createFromGlobals();
2525
$response = $kernel->handle($request);
2626
$response->send();

0 commit comments

Comments
 (0)