Skip to content

Commit 3fb5350

Browse files
author
Marius Burkard
committed
- fixed issue bug template
- added version cropping to installer
1 parent bd9fb57 commit 3fb5350

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitlab/issue_templates/Bug.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ insert the output of `nginx -v` or `apachectl -v` here
1818
insert the output of `php -v` here
1919
```
2020

21-
## propsed fix
21+
## proposed fix
2222
optional, of course.
2323
if you want to post code snippets, please use
2424
```
@@ -34,3 +34,8 @@ if you know of a forum post on howtoforge.com that deals with this topic, just a
3434
## screenshots
3535
optional, of course.
3636
Add screenshots of the problem by clicking "Attach a file" on the bottom right.
37+
38+
## log entries
39+
```
40+
apache / nginx error.log lines (if related)
41+
```

install/lib/install.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ function get_distname() {
9090
$ver = explode(" ", $ver, 2);
9191
$ver = reset($ver);
9292
$mainver = $ver;
93+
$mainver = explode('.', $ver);
94+
$mainver = array_filter($mainver);
95+
$mainver = current($mainver).'.'.next($mainver);
9396
}
9497
switch ($mainver){
9598
case "17.04":

0 commit comments

Comments
 (0)