Правило для файлов + Рекурсивное создание папки

This commit is contained in:
Фёдор Подлеснов 2016-07-27 15:02:04 +03:00
parent 405192f96a
commit 233e90ce72
5 changed files with 72 additions and 11 deletions

View file

@ -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);
}
}