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
2615e90b
Commit
2615e90b
authored
10 years ago
by
Dominik
Browse files
Options
Downloads
Patches
Plain Diff
fixed template-style
fixed small bug in mail-backup-cron
parent
01e0759f
No related branches found
No related tags found
1 merge request
!153
Include Backup-Files to Web-Quota, Added Mail-Backup-Remote-Functions
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interface/web/admin/templates/system_config_sites_edit.htm
+2
-2
2 additions, 2 deletions
interface/web/admin/templates/system_config_sites_edit.htm
server/lib/classes/cron.d/500-backup_mail.inc.php
+1
-1
1 addition, 1 deletion
server/lib/classes/cron.d/500-backup_mail.inc.php
with
3 additions
and
3 deletions
interface/web/admin/templates/system_config_sites_edit.htm
+
2
−
2
View file @
2615e90b
...
@@ -52,8 +52,8 @@
...
@@ -52,8 +52,8 @@
</div>
</div>
</div>
</div>
<div
class=
"ctrlHolder"
>
<div
class=
"ctrlHolder"
>
<
p
class=
"label"
>
{tmpl_var name='backups_include_into_web_quota_txt'}
</
p
>
<
label
class=
"
col-sm-3 control-
label"
>
{tmpl_var name='backups_include_into_web_quota_txt'}
</
label
>
<div
class=
"
multiField
"
>
<div
class=
"
col-sm-9
"
>
{tmpl_var name='backups_include_into_web_quota'}
{tmpl_var name='backups_include_into_web_quota'}
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
server/lib/classes/cron.d/500-backup_mail.inc.php
+
1
−
1
View file @
2615e90b
...
@@ -76,7 +76,7 @@ class cronjob_backup_mail extends cronjob {
...
@@ -76,7 +76,7 @@ class cronjob_backup_mail extends cronjob {
foreach
(
$records
as
$rec
)
{
foreach
(
$records
as
$rec
)
{
//* Do the mailbox backup
//* 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'
))
{
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
];
$domain
=
$temp
[
1
];
unset
(
$temp
);;
unset
(
$temp
);;
$domain_rec
=
$app
->
db
->
queryOneRecord
(
"SELECT * FROM mail_domain WHERE domain = ?"
,
$domain
);
$domain_rec
=
$app
->
db
->
queryOneRecord
(
"SELECT * FROM mail_domain WHERE domain = ?"
,
$domain
);
...
...
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