| @@ 98-104 (lines=7) @@ | ||
| 95 | } |
|
| 96 | } |
|
| 97 | // --- COPY blank.png FILES --------------- |
|
| 98 | if (count($configurator['copyBlankFiles']) > 0) { |
|
| 99 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 100 | foreach (array_keys($configurator['copyBlankFiles']) as $i) { |
|
| 101 | $dest = $configurator['copyBlankFiles'][$i] . '/blank.png'; |
|
| 102 | $classUtility::copyFile($file, $dest); |
|
| 103 | } |
|
| 104 | } |
|
| 105 | ||
| 106 | // --- COPY test folder files --------------- |
|
| 107 | if (count($configurator['copyTestFolders']) > 0) { |
|
| @@ 143-149 (lines=7) @@ | ||
| 140 | } |
|
| 141 | ||
| 142 | // --- COPY blank.png FILES --------------- |
|
| 143 | if (count($configurator['copyBlankFiles']) > 0) { |
|
| 144 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 145 | foreach (array_keys($configurator['copyBlankFiles']) as $i) { |
|
| 146 | $dest = $configurator['copyBlankFiles'][$i] . '/blank.png'; |
|
| 147 | $classUtility::copyFile($file, $dest); |
|
| 148 | } |
|
| 149 | } |
|
| 150 | ||
| 151 | //delete .html entries from the tpl table |
|
| 152 | $sql = 'DELETE FROM ' . $GLOBALS['xoopsDB']->prefix('tplfile') . " WHERE `tpl_module` = '" . $module->getVar('dirname', 'n') . "' AND `tpl_file` LIKE '%.html%'"; |
|