Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
2615e90b
Commit
2615e90b
authored
Jan 14, 2015
by
Dominik
Browse files
fixed template-style
fixed small bug in mail-backup-cron
parent
01e0759f
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/admin/templates/system_config_sites_edit.htm
View file @
2615e90b
...
...
@@ -52,8 +52,8 @@
</div>
</div>
<div
class=
"ctrlHolder"
>
<
p
class=
"label"
>
{tmpl_var name='backups_include_into_web_quota_txt'}
</
p
>
<div
class=
"
multiField
"
>
<
label
class=
"
col-sm-3 control-
label"
>
{tmpl_var name='backups_include_into_web_quota_txt'}
</
label
>
<div
class=
"
col-sm-9
"
>
{tmpl_var name='backups_include_into_web_quota'}
</div>
</div>
...
...
server/lib/classes/cron.d/500-backup_mail.inc.php
View file @
2615e90b
...
...
@@ -76,7 +76,7 @@ class cronjob_backup_mail extends cronjob {
foreach
(
$records
as
$rec
)
{
//* Do the mailbox backup
if
(
$rec
[
'backup_interval'
]
==
'daily'
or
(
$rec
[
'backup_interval'
]
==
'weekly'
&&
date
(
'w'
)
==
0
)
or
(
$rec
[
'backup_interval'
]
==
'monthly'
&&
date
(
'd'
)
==
'01'
))
{
$temp
=
explode
(
"@"
,
$email
);
$temp
=
explode
(
"@"
,
$
rec
[
'
email
'
]
);
$domain
=
$temp
[
1
];
unset
(
$temp
);;
$domain_rec
=
$app
->
db
->
queryOneRecord
(
"SELECT * FROM mail_domain WHERE domain = ?"
,
$domain
);
...
...
Write
Preview
Supports
Markdown
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