Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kevin
ISPConfig 3
Commits
8eb9bd14
Commit
8eb9bd14
authored
Mar 08, 2011
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#1463 - cron options have to be handled differently.
parent
df8eb314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
interface/web/client/tools.inc.php
interface/web/client/tools.inc.php
+11
-6
No files found.
interface/web/client/tools.inc.php
View file @
8eb9bd14
...
...
@@ -59,12 +59,17 @@ function applyClientTemplates($clientId){
/* maybe the template is deleted in the meantime */
if
(
is_array
(
$addLimits
)){
foreach
(
$addLimits
as
$k
=>
$v
){
if
(
$limits
[
$k
]
>
-
1
){
if
(
$v
==
-
1
)
{
$limits
[
$k
]
=
-
1
;
}
else
{
$limits
[
$k
]
+=
$v
;
if
(
$k
==
'limit_cron_type'
)
{
$limits
[
$k
]
=
$v
;
}
elseif
(
$k
==
'limit_cron_frequency'
)
{
if
(
$v
<
$limits
[
$k
])
$limits
[
$k
]
=
$v
;
}
else
{
if
(
$limits
[
$k
]
>
-
1
){
if
(
$v
==
-
1
)
{
$limits
[
$k
]
=
-
1
;
}
else
{
$limits
[
$k
]
+=
$v
;
}
}
}
}
...
...
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