| @@ 94-100 (lines=7) @@ | ||
| 91 | } |
|
| 92 | ||
| 93 | // --- COPY blank.png FILES --------------- |
|
| 94 | if (count($configurator->blankFiles) > 0) { |
|
| 95 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 96 | foreach (array_keys($configurator->blankFiles) as $i) { |
|
| 97 | $dest = $configurator->blankFiles[$i] . '/blank.png'; |
|
| 98 | $classUtility::copyFile($file, $dest); |
|
| 99 | } |
|
| 100 | } |
|
| 101 | ||
| 102 | return true; |
|
| 103 | } |
|
| @@ 151-157 (lines=7) @@ | ||
| 148 | } |
|
| 149 | ||
| 150 | // --- COPY blank.png FILES --------------- |
|
| 151 | if (count($configurator->blankFiles) > 0) { |
|
| 152 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 153 | foreach (array_keys($configurator->blankFiles) as $i) { |
|
| 154 | $dest = $configurator->blankFiles[$i] . '/blank.png'; |
|
| 155 | $classUtility::copyFile($file, $dest); |
|
| 156 | } |
|
| 157 | } |
|
| 158 | ||
| 159 | //delete .html entries from the tpl table |
|
| 160 | $sql = 'DELETE FROM ' . $xoopsDB->prefix('tplfile') . " WHERE `tpl_module` = '" . $module->getVar('dirname', 'n') . "' AND `tpl_file` LIKE '%.html%'"; |
|