Commit fb1963a
committed
fix: create .htaccess file in case it doesn't exist yet
Currently, the updateHtaccess() function can't deal with a missing
.htaccess file, it assumes at least an empty .htaccess file.
In some cases, the file may be missing though, and this commit
adds functionality for creating it when this edgecase occurs.
Signed-off-by: Marc <mail@lpcvoid.com>1 parent c38e604 commit fb1963a
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
559 | 568 | | |
560 | 569 | | |
561 | 570 | | |
| |||
0 commit comments