Правило для файлов + Рекурсивное создание папки
This commit is contained in:
parent
405192f96a
commit
233e90ce72
5 changed files with 72 additions and 11 deletions
|
|
@ -280,7 +280,7 @@ class Path
|
|||
{
|
||||
$path_dst = pathinfo($dst, PATHINFO_DIRNAME);
|
||||
if (! file_exists($path_dst)) {
|
||||
mkdir($path_dst);
|
||||
mkdir($path_dst, 0700, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue