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: src/Symfony/Bundle/WebServerBundle/WebServerConfig.php
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ public function __construct($documentRoot, $env, $address = null, $router = null
28
28
thrownew \InvalidArgumentException(sprintf('The document root directory "%s" does not exist.', $documentRoot));
29
29
}
30
30
31
-
if (null === $file = $this->guessFrontController($documentRoot, $env)) {
32
-
thrownew \InvalidArgumentException(sprintf('Unable to guess the front controller under "%s".', $documentRoot));
31
+
if (null === $file = $this->findFrontController($documentRoot, $env)) {
32
+
thrownew \InvalidArgumentException(sprintf('Unable to find the front controller under "%s" (none of these files exist: %s).', $documentRoot, implode(', ', $this->getFrontControllerFileNames($env))));
0 commit comments