| @@ 82-88 (lines=7) @@ | ||
| 79 | } |
|
| 80 | ||
| 81 | // --- COPY blank.png FILES --------------- |
|
| 82 | if (count($configurator['copyBlankFiles']) > 0) { |
|
| 83 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 84 | foreach (array_keys($configurator['copyBlankFiles']) as $i) { |
|
| 85 | $dest = $configurator['copyBlankFiles'][$i] . '/blank.png'; |
|
| 86 | $classUtilities::copyFile($file, $dest); |
|
| 87 | } |
|
| 88 | } |
|
| 89 | return true; |
|
| 90 | } |
|
| 91 | ||
| @@ 135-141 (lines=7) @@ | ||
| 132 | } |
|
| 133 | ||
| 134 | // --- COPY blank.png FILES --------------- |
|
| 135 | if (count($configurator['copyFiles']) > 0) { |
|
| 136 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 137 | foreach (array_keys($configurator['copyFiles']) as $i) { |
|
| 138 | $dest = $configurator['copyFiles'][$i] . '/blank.png'; |
|
| 139 | $classUtilities::copyFile($file, $dest); |
|
| 140 | } |
|
| 141 | } |
|
| 142 | ||
| 143 | //delete .html entries from the tpl table |
|
| 144 | $sql = 'DELETE FROM ' . $xoopsDB->prefix('tplfile') . " WHERE `tpl_module` = '" . $module->getVar('dirname', |
|