Skip to content
Commits on Source (7)
......@@ -158,6 +158,7 @@ $conf['timezone'] = '{timezone}';
//** Misc.
$conf['interface_logout_url'] = ''; // example: http://www.domain.tld/
$conf['interface_base_url'] = ''; // example: http://www.domain.tld (no trailing slash)
//** Auto Load Modules
......
......@@ -84,6 +84,9 @@ if(isset($_POST['username']) && is_string($_POST['username']) && $_POST['usernam
else $server_domain = 'https://' . $server_domain;
if(isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '443') $server_domain .= ':' . $_SERVER['SERVER_PORT'];
if (!empty($conf['interface_base_url'])) {
$server_domain = $conf['interface_base_url'];
}
$app->uses('getconf,ispcmail');
$server_config_array = $app->getconf->get_global_config();
......
......@@ -8,19 +8,19 @@ $wb['run_hour_txt'] = 'Heures';
$wb['run_mday_txt'] = 'Jours du mois';
$wb['run_month_txt'] = 'Mois';
$wb['run_wday_txt'] = 'Jours de la semaine';
$wb['command_txt'] = 'Commande à éxécuter (commandes via sh, URLs via wget)';
$wb['limit_cron_txt'] = 'La nombre maximum de tâches cron autorisés a été atteint.';
$wb['limit_cron_frequency_txt'] = 'La fréquence du cron excède la limite autorisée.';
$wb['command_txt'] = 'Commande à exécuter (commandes via sh, URLs via wget)';
$wb['limit_cron_txt'] = 'Le nombre maximum de tâches cron autorisés a été atteint.';
$wb['limit_cron_frequency_txt'] = 'La fréquence du cron excède la limite autorisées.';
$wb['run_min_error_format'] = 'Format invalide pour les minutes.';
$wb['run_hour_error_format'] = 'Format invalide pour les heures.';
$wb['run_mday_error_format'] = 'Format invalide pour les jours du mois.';
$wb['run_month_error_format'] = 'Format invalide pour les mois.';
$wb['run_wday_error_format'] = 'Format invalide pour les jours du mois.';
$wb['run_wday_error_format'] = 'Format invalide pour les jours de la semaine.';
$wb['command_error_format'] = 'Format de la commande invalide.';
$wb['unknown_fieldtype_error'] = 'Un champ inconnu a été utilisé';
$wb['server_id_error_empty'] = 'ID serveur non renseigné';
$wb['limit_cron_url_txt'] = 'URL cron only. Please enter a URL starting with https:// as cron command.';
$wb['command_error_empty'] = 'Command is empty.';
$wb['command_hint_txt'] = 'e.g. /var/www/clients/clientX/webY/myscript.sh or https://www.mydomain.com/path/script.php, you can use [web_root] placeholder that is replaced by /var/www/clients/clientX/webY/web.';
$wb['log_output_txt'] = 'Log output';
$wb['limit_cron_url_txt'] = 'Cron de type URL seulement. Merci d\'introduire une URL débutant par https:// en tant que commande cron.';
$wb['command_error_empty'] = 'Le champ Commande à exécuter est vide.';
$wb['command_hint_txt'] = 'par exemple /var/www/clients/clientX/webY/monscript.sh ou https://www.mondomaine.com/chemin/script.php, vous pouvez utiliser la constante [web_root] qui sera remplacée par /var/www/clients/clientX/webY/web.';
$wb['log_output_txt'] = 'Journaliser la sortie du cron';
?>
......@@ -8,19 +8,19 @@ $wb['run_hour_txt'] = 'Heures';
$wb['run_mday_txt'] = 'Jours du mois';
$wb['run_month_txt'] = 'Mois';
$wb['run_wday_txt'] = 'Jours de la semaine';
$wb['command_txt'] = 'Commande à éxécuter (commandes via sh, URLs via wget)';
$wb['limit_cron_txt'] = 'La nombre maximum de tâches cron autorisés a été atteint.';
$wb['limit_cron_frequency_txt'] = 'La fréquence du cron excède la limite autorisée.';
$wb['command_txt'] = 'Commande à exécuter (commandes via sh, URLs via wget)';
$wb['limit_cron_txt'] = 'Le nombre maximum de tâches cron autorisés a été atteint.';
$wb['limit_cron_frequency_txt'] = 'La fréquence du cron excède la limite autorisées.';
$wb['run_min_error_format'] = 'Format invalide pour les minutes.';
$wb['run_hour_error_format'] = 'Format invalide pour les heures.';
$wb['run_mday_error_format'] = 'Format invalide pour les jours du mois.';
$wb['run_month_error_format'] = 'Format invalide pour les mois.';
$wb['run_wday_error_format'] = 'Format invalide pour les jours du mois.';
$wb['run_wday_error_format'] = 'Format invalide pour les jours de la semaine.';
$wb['command_error_format'] = 'Format de la commande invalide.';
$wb['unknown_fieldtype_error'] = 'Un champ inconnu a été utilisé';
$wb['server_id_error_empty'] = 'The server ID is empty.';
$wb['limit_cron_url_txt'] = 'URL cron only. Please enter a URL starting with https:// as cron command.';
$wb['command_error_empty'] = 'Command is empty.';
$wb['command_hint_txt'] = 'e.g. /var/www/clients/clientX/webY/myscript.sh or https://www.mydomain.com/path/script.php, you can use [web_root] placeholder that is replaced by /var/www/clients/clientX/webY/web.';
$wb['log_output_txt'] = 'Log output';
$wb['server_id_error_empty'] = 'ID serveur non renseigné';
$wb['limit_cron_url_txt'] = 'Cron de type URL seulement. Merci d\'introduire une URL débutant par https:// en tant que commande cron.';
$wb['command_error_empty'] = 'Le champ Commande à exécuter est vide.';
$wb['command_hint_txt'] = 'par exemple /var/www/clients/clientX/webY/monscript.sh ou https://www.mondomaine.com/chemin/script.php, vous pouvez utiliser la constante [web_root] qui sera remplacée par /var/www/clients/clientX/webY/web.';
$wb['log_output_txt'] = 'Journaliser la sortie du cron';
?>