Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
cc8a3e8a
Commit
cc8a3e8a
authored
Jul 08, 2019
by
Till Brehm
Browse files
Missed to remove swriteln function in monitor lib/classes/monitor_tools.inc.php
parent
938676a4
Changes
1
Show whitespace changes
Inline
Side-by-side
server/lib/classes/monitor_tools.inc.php
View file @
cc8a3e8a
...
...
@@ -217,21 +217,18 @@ class monitor_tools {
$distconfid
=
'debian100'
;
$distid
=
'debian60'
;
$distbaseid
=
'debian'
;
swriteln
(
"Operating System: Debian 10.0 (Buster) or compatible
\n
"
);
}
elseif
(
strstr
(
trim
(
file_get_contents
(
'/etc/debian_version'
)),
'/sid'
))
{
$distname
=
'Debian'
;
$distver
=
'Testing'
;
$distid
=
'debian60'
;
$distconfid
=
'debiantesting'
;
$distbaseid
=
'debian'
;
swriteln
(
"Operating System: Debian Testing
\n
"
);
}
else
{
$distname
=
'Debian'
;
$distver
=
'Unknown'
;
$distid
=
'debian60'
;
$distconfid
=
'debian100'
;
$distbaseid
=
'debian'
;
swriteln
(
"Operating System: Debian or compatible, unknown version.
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment