mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 04:50:46 -07:00
added cron exlusions
This commit is contained in:
parent
24fd351b85
commit
5b52823570
3 changed files with 17 additions and 0 deletions
|
@ -89,6 +89,11 @@ if (empty($_SESSION['error_msg'])) {
|
||||||
$v_db_tmp = rtrim($v_db_tmp, ",");
|
$v_db_tmp = rtrim($v_db_tmp, ",");
|
||||||
$v_db_tmp = "DB=" . escapeshellarg($v_db_tmp);
|
$v_db_tmp = "DB=" . escapeshellarg($v_db_tmp);
|
||||||
|
|
||||||
|
$v_cron = $_POST['v_cron'];
|
||||||
|
$v_cron_tmp = str_replace("\r\n", ",", $_POST['v_cron']);
|
||||||
|
$v_cron_tmp = rtrim($v_cron_tmp, ",");
|
||||||
|
$v_cron_tmp = "CRON=" . escapeshellarg($v_cron_tmp);
|
||||||
|
|
||||||
$v_userdir = $_POST['v_userdir'];
|
$v_userdir = $_POST['v_userdir'];
|
||||||
$v_userdir_tmp = str_replace("\r\n", ",", $_POST['v_userdir']);
|
$v_userdir_tmp = str_replace("\r\n", ",", $_POST['v_userdir']);
|
||||||
$v_userdir_tmp = rtrim($v_userdir_tmp, ",");
|
$v_userdir_tmp = rtrim($v_userdir_tmp, ",");
|
||||||
|
|
|
@ -103,6 +103,7 @@ $LANG['en'] = array(
|
||||||
'Editing Package' => 'Editing Package',
|
'Editing Package' => 'Editing Package',
|
||||||
'Adding IP address' => 'Adding IP address',
|
'Adding IP address' => 'Adding IP address',
|
||||||
'Editing IP Address' => 'Editing IP Address',
|
'Editing IP Address' => 'Editing IP Address',
|
||||||
|
'Editing Backup Exclusions' => 'Editing Backup Exclusions',
|
||||||
'Generating CSR' => 'Generating CSR',
|
'Generating CSR' => 'Generating CSR',
|
||||||
'Listing' => 'Listing',
|
'Listing' => 'Listing',
|
||||||
'Search Results' => 'Search Results',
|
'Search Results' => 'Search Results',
|
||||||
|
@ -404,6 +405,7 @@ $LANG['en'] = array(
|
||||||
'DNS_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *",
|
'DNS_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *",
|
||||||
'MAIL_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *. To exclude specific accounts use following format: domain.com:info:support:postmaster",
|
'MAIL_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *. To exclude specific accounts use following format: domain.com:info:support:postmaster",
|
||||||
'DB_EXCLUSIONS' => "Type full database name, one per line. To exlude all databases use *",
|
'DB_EXCLUSIONS' => "Type full database name, one per line. To exlude all databases use *",
|
||||||
|
'CRON_EXCLUSIONS' => "To exlude all jobs use *",
|
||||||
'USER_EXCLUSIONS' => "Type directory name, one per line. Directories should not include leading or trailing slashes. To exlude all dirs use *",
|
'USER_EXCLUSIONS' => "Type directory name, one per line. Directories should not include leading or trailing slashes. To exlude all dirs use *",
|
||||||
|
|
||||||
'Welcome to Vesta Control Panel' => 'Welcome to Vesta Control Panel',
|
'Welcome to Vesta Control Panel' => 'Welcome to Vesta Control Panel',
|
||||||
|
|
|
@ -77,6 +77,16 @@
|
||||||
<textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?php if (isset($v_db)) echo $v_db; ?></textarea>
|
<textarea class="vst-textinput" name="v_db" placeholder="<?php echo __('DB_EXCLUSIONS') ?>"><?php if (isset($v_db)) echo $v_db; ?></textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||||
|
<?php print __('Cron');?>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<textarea size="20" class="vst-textinput" name="v_cron" placeholder="<?php echo __('CRON_EXCLUSIONS') ?>"><?php if (isset($v_cron)) echo $v_cron; ?></textarea>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="vst-text" style="padding: 12px 0 0 0;">
|
<td class="vst-text" style="padding: 12px 0 0 0;">
|
||||||
<?php print __('User Directories');?>
|
<?php print __('User Directories');?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue