| @@ 92-97 (lines=6) @@ | ||
| 89 | $gpermHandler->addRight($moduleDirName . '_view', 1, XOOPS_GROUP_ANONYMOUS, $moduleId); |
|
| 90 | ||
| 91 | // --- CREATE FOLDERS --------------- |
|
| 92 | if (count($configurator->uploadFolders) > 0) { |
|
| 93 | // foreach (array_keys($GLOBALS['uploadFolders']) as $i) { |
|
| 94 | foreach (array_keys($configurator->uploadFolders) as $i) { |
|
| 95 | $utility::createFolder($configurator->uploadFolders[$i]); |
|
| 96 | } |
|
| 97 | } |
|
| 98 | // --- COPY blank.png FILES --------------- |
|
| 99 | if (count($configurator->copyBlankFiles) > 0) { |
|
| 100 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| @@ 129-134 (lines=6) @@ | ||
| 126 | } |
|
| 127 | ||
| 128 | // --- CREATE FOLDERS --------------- |
|
| 129 | if (count($configurator->uploadFolders) > 0) { |
|
| 130 | // foreach (array_keys($GLOBALS['uploadFolders']) as $i) { |
|
| 131 | foreach (array_keys($configurator->uploadFolders) as $i) { |
|
| 132 | $utility::createFolder($configurator->uploadFolders[$i]); |
|
| 133 | } |
|
| 134 | } |
|
| 135 | ||
| 136 | // --- COPY blank.png FILES --------------- |
|
| 137 | if (count($configurator->copyBlankFiles) > 0) { |
|