Added family folders

This commit is contained in:
CHIEFSOFT\ameye
2023-06-02 18:44:16 -04:00
parent eb9b8e5e3c
commit 3389258282
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@ class UploadManager extends Model
mkdir($this->savePath.'PROFILE', 0777, true);
}
if (!file_exists($this->savePath.'FAMILY')) {
mkdir($this->savePath.'FAMILY', 0777, true);
}
if (!file_exists($this->savePath.'JOBS')) {
mkdir($this->savePath.'JOBS', 0777, true);
}
@@ -15,6 +15,10 @@ function reciveUpload($in,$out){
mkdir($savePath.'PROFILE', 0777, true);
}
if (!file_exists($savePath.'FAMILY')) {
mkdir($savePath.'FAMILY', 0777, true);
}
if (!file_exists($savePath.'JOBS')) {
mkdir($savePath.'JOBS', 0777, true);
}