mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Test int permission
This commit is contained in:
parent
1088f58ceb
commit
41afefd18d
|
|
@ -391,7 +391,7 @@ class Directory extends FileAbstract implements DirectoryInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function create(string $path, int $permission = 0644, bool $recursive = false) : bool
|
||||
public static function create(string $path, int $permission = 644, bool $recursive = false) : bool
|
||||
{
|
||||
if (!file_exists($path)) {
|
||||
if (!$recursive && !file_exists(self::parent($path))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user