Merge branch '3.4' into 4.3
* 3.4: [HttpKernel] fix wrong removal of the just generated container dir
This commit is contained in:
commit
5ce78ccbe1
@ -754,7 +754,7 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
|
||||
$fs->dumpFile($dir.$file, $code);
|
||||
@chmod($dir.$file, 0666 & ~umask());
|
||||
}
|
||||
$legacyFile = \dirname($dir.$file).'.legacy';
|
||||
$legacyFile = \dirname($dir.key($content)).'.legacy';
|
||||
if (file_exists($legacyFile)) {
|
||||
@unlink($legacyFile);
|
||||
}
|
||||
|
Reference in New Issue
Block a user