Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
f686264a
Commit
f686264a
authored
9 years ago
by
Marius Burkard
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'stable-3.1'
Master See merge request !274
parents
b8f4cacc
cffef259
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install/update.php
+19
-9
19 additions, 9 deletions
install/update.php
interface/web/dns/templates/dns_dmarc_edit.htm
+7
-7
7 additions, 7 deletions
interface/web/dns/templates/dns_dmarc_edit.htm
with
26 additions
and
16 deletions
install/update.php
+
19
−
9
View file @
f686264a
...
...
@@ -177,9 +177,6 @@ $inst = new installer();
if
(
!
$inst
->
get_php_version
())
die
(
'ISPConfig requieres PHP '
.
$inst
->
min_php
.
"
\n
"
);
$inst
->
is_update
=
true
;
//** Detect the installed applications
$inst
->
find_installed_apps
();
echo
"This application will update ISPConfig 3 on your server.
\n\n
"
;
//* Make a backup before we start the update
...
...
@@ -304,6 +301,18 @@ if($reconfigure_master_database_rights_answer == 'yes') {
}
//}
//** Detect the installed applications
$inst
->
find_installed_apps
();
$conf
[
'services'
][
'mail'
]
=
$conf
[
'postfix'
][
'installed'
];
if
(
$conf
[
'powerdns'
][
'installed'
]
||
$conf
[
'bind'
][
'installed'
]
||
$conf
[
'mydns'
][
'installed'
])
$conf
[
'services'
][
'dns'
]
=
true
;
if
(
$conf
[
'apache'
][
'installed'
]
||
$conf
[
'nginx'
][
'installed'
])
$conf
[
'services'
][
'web'
]
=
true
;
$conf
[
'services'
][
'xmpp'
]
=
$conf
[
'xmpp'
][
'installed'
];;
if
(
$conf
[
'ufw'
][
'installed'
]
||
$conf
[
'firewall'
][
'installed'
])
$conf
[
'services'
][
'firewall'
]
=
true
;
$conf
[
'services'
][
'vserver'
]
=
$conf
[
'services'
][
'vserver'
];
$conf
[
'services'
][
'db'
]
=
true
;
//** Shall the services be reconfigured during update
$reconfigure_services_answer
=
$inst
->
simple_query
(
'Reconfigure Services?'
,
array
(
'yes'
,
'no'
,
'selected'
),
'yes'
,
'reconfigure_services'
);
...
...
@@ -323,12 +332,6 @@ if($reconfigure_services_answer == 'yes' || $reconfigure_services_answer == 'sel
$inst
->
configure_mailman
(
'update'
);
}
//* Configure Jailkit
if
(
$inst
->
reconfigure_app
(
'Jailkit'
,
$reconfigure_services_answer
))
{
swriteln
(
'Configuring Jailkit'
);
$inst
->
configure_jailkit
();
}
if
(
$conf
[
'dovecot'
][
'installed'
]
==
true
&&
$inst
->
reconfigure_app
(
'Dovecot'
,
$reconfigure_services_answer
))
{
//* Configure dovecot
swriteln
(
'Configuring Dovecot'
);
...
...
@@ -407,6 +410,13 @@ if($reconfigure_services_answer == 'yes' || $reconfigure_services_answer == 'sel
swriteln
(
'Configuring Apps vhost'
);
$inst
->
configure_apps_vhost
();
}
//* Configure Jailkit
if
(
$inst
->
reconfigure_app
(
'Jailkit'
,
$reconfigure_services_answer
))
{
swriteln
(
'Configuring Jailkit'
);
$inst
->
configure_jailkit
();
}
}
if
(
$conf
[
'services'
][
'xmpp'
]
&&
$inst
->
reconfigure_app
(
'XMPP'
,
$reconfigure_services_answer
))
{
...
...
This diff is collapsed.
Click to expand it.
interface/web/dns/templates/dns_dmarc_edit.htm
+
7
−
7
View file @
f686264a
...
...
@@ -41,7 +41,7 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
{tmpl_var name='dmarc_fo_txt'}
</label>
<div
class=
"col-sm-
3
"
>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fo0"
name=
"dmarc_fo0"
{
tmpl_var
name=
'dmarc_fo0'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
@@ -50,7 +50,7 @@
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
></label>
<div
class=
"col-sm-
3
"
>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fo0"
name=
"dmarc_fo0"
{
tmpl_var
name=
'dmarc_fo1'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
@@ -59,7 +59,7 @@
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
></label>
<div
class=
"col-sm-
3
"
>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fod"
name=
"dmarc_fod"
{
tmpl_var
name=
'dmarc_fod'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
@@ -68,7 +68,7 @@
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
></label>
<div
class=
"col-sm-
3
"
>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fos"
name=
"dmarc_fos"
{
tmpl_var
name=
'dmarc_fos'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
@@ -96,7 +96,7 @@
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
{tmpl_var name='dmarc_rf_txt'}
</label>
<div
class=
"col-sm-
3
"
>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_rf_afrf"
name=
"dmarc_fo0"
{
tmpl_var
name=
'dmarc_rf_afrf'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
@@ -104,8 +104,8 @@
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
></label>
<div
class=
"col-sm-
3
"
>
<label
class=
"col-sm-2 control-label"
>
{tmpl_var name='dmarc_rf_iodef'}
</label>
<div
class=
"col-sm-
1
"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_rf_iodef"
name=
"dmarc_rf_iodef"
{
tmpl_var
name=
'dmarc_rf_iodef'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment