[HttpKernel] fixed the creation of the Profiler directory

This commit is contained in:
Fabien Potencier 2013-02-07 12:58:33 +01:00
parent 3e2ff71b7c
commit e50d33308a

View File

@ -39,7 +39,7 @@ class FileProfilerStorage implements ProfilerStorageInterface
$this->folder = substr($dsn, 5);
if (!is_dir($this->folder)) {
mkdir($this->folder);
mkdir($this->folder, 0777, true);
}
}