Commit b2fbe1b4 authored by tbrehm's avatar tbrehm

Fixed: FS#2078 - Cron - ISPConfig website users permission

- Improved date format in nl language file
- Disabled debugging mode in interface plugin class.
parent 5fb83b57
......@@ -31,7 +31,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
class plugin {
private $subscribed_events = array();
private $debug = true;
private $debug = false;
/*
......
<?php
$wb['conf_format_dateshort'] = 'Y-m-d';
$wb['conf_format_datelong'] = 'l d F Y';
$wb['conf_format_dateshort'] = 'd.m.Y';
$wb['conf_format_datelong'] = 'l, d. F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'Y-m-d H:i';
$wb['conf_format_datetime'] = 'd.m.Y H:i';
$wb['number_format_decimals'] = '2';
$wb['number_format_dec_point'] = '.';
$wb['number_format_dec_point'] = ',';
$wb['number_format_thousands_sep'] = '';
$wb['error_301'] = 'Module niet toegestaan voor de huidige gebruiker.';
$wb['error_302'] = 'Ongeldige module.';
......
......@@ -226,11 +226,6 @@ $form["tabs"]['autoresponder'] = array (
'autoresponder_start_date' => array (
'datatype' => 'DATETIME',
'formtype' => 'DATETIME',
'validators'=> array ( 0 => array ( 'type' => 'CUSTOM',
'class' => 'validate_autoresponder',
'function' => 'start_date',
'errmsg'=> 'autoresponder_start_date_ispast'),
),
),
'autoresponder_end_date' => array (
'datatype' => 'DATETIME',
......
......@@ -183,8 +183,9 @@ class cron_plugin {
//* try to find customer's mail address
/** TODO: add possibility for client to choose mail notification! **/
$cron_content = "MAILTO=''\n\n";
$chr_cron_content = "MAILTO=''\n\n";
$cron_content = "MAILTO=''\n";
$cron_content .= "SHELL='/bin/sh'\n\n";
$chr_cron_content = "MAILTO=''\n";
$chr_cron_content .= "SHELL='/usr/sbin/jk_chrootsh'\n\n";
$cmd_count = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment