| @@ 104-110 (lines=7) @@ | ||
| 101 | } |
|
| 102 | ||
| 103 | // --- COPY blank.png FILES --------------- |
|
| 104 | if (count($configurator->blankFiles) > 0) { |
|
| 105 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 106 | foreach (array_keys($configurator->blankFiles) as $i) { |
|
| 107 | $dest = $configurator->blankFiles[$i] . '/blank.png'; |
|
| 108 | $classUtil::copyFile($file, $dest); |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||
| 112 | return true; |
|
| 113 | } |
|
| @@ 147-153 (lines=7) @@ | ||
| 144 | } |
|
| 145 | ||
| 146 | // --- COPY blank.png FILES --------------- |
|
| 147 | if (count($configurator->blankFiles) > 0) { |
|
| 148 | $file = __DIR__ . '/../assets/images/blank.png'; |
|
| 149 | foreach (array_keys($configurator->blankFiles) as $i) { |
|
| 150 | $dest = $configurator->blankFiles[$i] . '/blank.png'; |
|
| 151 | $classUtil::copyFile($file, $dest); |
|
| 152 | } |
|
| 153 | } |
|
| 154 | ||
| 155 | //delete .html entries from the tpl table |
|
| 156 | $sql = 'DELETE FROM ' . $xoopsDB->prefix('tplfile') . " WHERE `tpl_module` = '" . $module->getVar('dirname', 'n') . '\' AND `tpl_file` LIKE \'%.html%\''; |
|