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
4a0a74ce
Commit
4a0a74ce
authored
Jul 09, 2019
by
Marius Burkard
Browse files
Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1
parents
13a54746
cc8a3e8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
server/conf/vhost.conf.master
View file @
4a0a74ce
...
@@ -215,6 +215,7 @@
...
@@ -215,6 +215,7 @@
<tmpl_if name='cgi' op='==' value='y'>
<tmpl_if name='cgi' op='==' value='y'>
# cgi enabled
# cgi enabled
<Directory {tmpl_var name='document_root'}/cgi-bin>
<Directory {tmpl_var name='document_root'}/cgi-bin>
AllowOverride <tmpl_var name='allow_override'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>
Require all granted
Require all granted
<tmpl_else>
<tmpl_else>
...
...
server/cron.php
View file @
4a0a74ce
...
@@ -76,7 +76,7 @@ $conf['server_id'] = intval($conf['server_id']);
...
@@ -76,7 +76,7 @@ $conf['server_id'] = intval($conf['server_id']);
// Load required base-classes
// Load required base-classes
$app
->
uses
(
'modules,ini_parser,file,services,getconf,system,cron,functions'
);
$app
->
uses
(
'modules,ini_parser,file,services,getconf,system,cron,functions
,plugins
'
);
$app
->
load
(
'libdatetime,cronjob'
);
$app
->
load
(
'libdatetime,cronjob'
);
// read all cron jobs
// read all cron jobs
...
...
server/lib/classes/monitor_tools.inc.php
View file @
4a0a74ce
...
@@ -217,21 +217,18 @@ class monitor_tools {
...
@@ -217,21 +217,18 @@ class monitor_tools {
$distconfid
=
'debian100'
;
$distconfid
=
'debian100'
;
$distid
=
'debian60'
;
$distid
=
'debian60'
;
$distbaseid
=
'debian'
;
$distbaseid
=
'debian'
;
swriteln
(
"Operating System: Debian 10.0 (Buster) or compatible
\n
"
);
}
elseif
(
strstr
(
trim
(
file_get_contents
(
'/etc/debian_version'
)),
'/sid'
))
{
}
elseif
(
strstr
(
trim
(
file_get_contents
(
'/etc/debian_version'
)),
'/sid'
))
{
$distname
=
'Debian'
;
$distname
=
'Debian'
;
$distver
=
'Testing'
;
$distver
=
'Testing'
;
$distid
=
'debian60'
;
$distid
=
'debian60'
;
$distconfid
=
'debiantesting'
;
$distconfid
=
'debiantesting'
;
$distbaseid
=
'debian'
;
$distbaseid
=
'debian'
;
swriteln
(
"Operating System: Debian Testing
\n
"
);
}
else
{
}
else
{
$distname
=
'Debian'
;
$distname
=
'Debian'
;
$distver
=
'Unknown'
;
$distver
=
'Unknown'
;
$distid
=
'debian60'
;
$distid
=
'debian60'
;
$distconfid
=
'debian100'
;
$distconfid
=
'debian100'
;
$distbaseid
=
'debian'
;
$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