Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5419638

Browse filesBrowse files
committed
[HttpKernel] Show the actual directory needing to be created.
1 parent 6295e55 commit 5419638
Copy full SHA for 5419638

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/Kernel.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Kernel.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ protected function buildContainer()
615615
foreach (array('cache' => $this->getCacheDir(), 'logs' => $this->getLogDir()) as $name => $dir) {
616616
if (!is_dir($dir)) {
617617
if (false === @mkdir($dir, 0777, true)) {
618-
throw new \RuntimeException(sprintf("Unable to create the %s directory (%s)\n", $name, dirname($dir)));
618+
throw new \RuntimeException(sprintf("Unable to create the %s directory (%s)\n", $name, $dir));
619619
}
620620
} elseif (!is_writable($dir)) {
621621
throw new \RuntimeException(sprintf("Unable to write in the %s directory (%s)\n", $name, $dir));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.