| @@ 192-198 (lines=7) @@ | ||
| 189 | $classUtility::createFolder($configurator['uploadFolders'][$i]); |
|
| 190 | } |
|
| 191 | } |
|
| 192 | if (count($configurator['copyFiles']) > 0) { |
|
| 193 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 194 | foreach (array_keys($configurator['copyFiles']) as $i) { |
|
| 195 | $dest = $configurator['copyFiles'][$i] . '/blank.png'; |
|
| 196 | $classUtility::copyFile($file, $dest); |
|
| 197 | } |
|
| 198 | } |
|
| 199 | ||
| 200 | return true; |
|
| 201 | } |
|
| @@ 202-208 (lines=7) @@ | ||
| 199 | } |
|
| 200 | ||
| 201 | // --- COPY blank.png FILES --------------- |
|
| 202 | if (count($configurator['copyFiles']) > 0) { |
|
| 203 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 204 | foreach (array_keys($configurator['copyFiles']) as $i) { |
|
| 205 | $dest = $configurator['copyFiles'][$i] . '/blank.png'; |
|
| 206 | $classUtility::copyFile($file, $dest); |
|
| 207 | } |
|
| 208 | } |
|
| 209 | ||
| 210 | // --- DELETE OLD FILES --------------- |
|
| 211 | if (count($configurator['oldFiles']) > 0) { |
|