| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public static function buildSymLinks(): void |
||
| 33 | { |
||
| 34 | $fs = new Filesystem(); |
||
| 35 | |||
| 36 | // topic images |
||
| 37 | $originDir = '../../uploads/topicimage/'; |
||
| 38 | $targetDir = 'web/images/topics'; |
||
| 39 | $fs->symlink($originDir, $targetDir); |
||
| 40 | |||
| 41 | // webix |
||
| 42 | $originDir = '../../../vendor/typearea/webix/lib/codebase/'; |
||
| 43 | $targetDir = './web/js/libs/webix'; |
||
| 44 | $fs->symlink($originDir, $targetDir); |
||
| 45 | } |
||
| 47 |