We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a38c8 commit d4eed21Copy full SHA for d4eed21
src/Bridges/CacheDI/CacheExtension.php
@@ -65,6 +65,8 @@ public function afterCompile(Nette\PhpGenerator\ClassType $class)
65
66
private function checkTempDir($dir)
67
{
68
+ @mkdir($dir); // @ - directory may exists
69
+
70
// checks whether directory is writable
71
$uniq = uniqid('_', TRUE);
72
if (!@mkdir("$dir/$uniq")) { // @ - is escalated to exception
0 commit comments