mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
PJ scheduler only enterprise
This commit is contained in:
parent
2796d3c4e2
commit
82c5cbb929
@ -660,20 +660,23 @@ $tip = ui_print_help_tip(
|
|||||||
),
|
),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$table_other->data[$i][0] = __('PhantomJS cache cleanup ').$tip;
|
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
if (enterprise_installed() === true) {
|
||||||
[
|
$table_other->data[$i][0] = __('PhantomJS cache cleanup ').$tip;
|
||||||
'type' => 'select',
|
$table_other->data[$i++][1] = html_print_input(
|
||||||
'name' => 'phantomjs_cache_interval',
|
[
|
||||||
'return' => true,
|
'type' => 'select',
|
||||||
'fields' => [
|
'name' => 'phantomjs_cache_interval',
|
||||||
PHANTOM_CACHE_CLEANUP_ONCE => __('No scheduled'),
|
'return' => true,
|
||||||
PHANTOM_CACHE_CLEANUP_WEEKLY => __('Each week'),
|
'fields' => [
|
||||||
PHANTOM_CACHE_CLEANUP_DAILY => __('Each day'),
|
PHANTOM_CACHE_CLEANUP_ONCE => __('No scheduled'),
|
||||||
],
|
PHANTOM_CACHE_CLEANUP_WEEKLY => __('Each week'),
|
||||||
'selected' => ($config['phantomjs_cache_interval'] ?? PHANTOM_CACHE_CLEANUP_ONCE),
|
PHANTOM_CACHE_CLEANUP_DAILY => __('Each day'),
|
||||||
]
|
],
|
||||||
);
|
'selected' => ($config['phantomjs_cache_interval'] ?? PHANTOM_CACHE_CLEANUP_ONCE),
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
echo '<form id="form_setup" method="post">';
|
echo '<form id="form_setup" method="post">';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user