Skip to content

Commit 0467129

Browse files
Merge pull request #6 from darkwebdesign/ISSUE-4
ISSUE-4: Directories are not created recursively in TestInit.php
2 parents 4f47660 + ede20a9 commit 0467129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestInit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
throw new \Exception("Could not create " . __DIR__."/Proxies Folder.");
2222
}
2323

24-
if ( ! file_exists(__DIR__ . '/ORM/Proxy/generated') && ! mkdir(__DIR__ . '/ORM/Proxy/generated')) {
24+
if ( ! file_exists(__DIR__ . '/ORM/Proxy/generated') && ! mkdir(__DIR__ . '/ORM/Proxy/generated', 0777, true)) {
2525
throw new \Exception('Could not create ' . __DIR__ . '/ORM/Proxy/generated Folder.');
2626
}
2727

0 commit comments

Comments
 (0)