Removed mail.conf.dist.php, mail settings are not in .env.dist #2325

pull/2715/head
Julio 6 years ago
parent cc649d80aa
commit 0df5a405be
  1. 21
      app/config/mail.conf.dist.php
  2. 4
      main/install/install_files.inc.php

@ -1,21 +0,0 @@
<?php
/**
* This file holds the configuration settings
* for phpmailer Class.
*
* @package chamilo.configuration
*/
$platform_email['SMTP_FROM_EMAIL'] = (isset($administrator['email']) ? $administrator['email'] : 'admin@example.com');
$platform_email['SMTP_FROM_NAME'] = (isset($administrator['name']) ? $administrator['name'] : 'Admin');
$platform_email['SMTP_HOST'] = 'localhost';
$platform_email['SMTP_PORT'] = 25;
$platform_email['SMTP_MAILER'] = 'mail'; // mail, sendmail or smtp (Windows probably only supports smtp)
$platform_email['SMTP_AUTH'] = 0;
$platform_email['SMTP_USER'] = '';
$platform_email['SMTP_PASS'] = '';
$platform_email['SMTP_CHARSET'] = 'UTF-8';
$platform_email['SMTP_UNIQUE_SENDER'] = 0; // to send all mails from the same user
$platform_email['SMTP_DEBUG'] = 0; // change to 1 to enable smtp debug
$platform_email['SMTP_SECURE'] = 'tls'; // if you're using SSL: ssl; or TLS: tls. (only used if SMTP_AUTH==1)
$platform_email['SMTP_UNIQUE_REPLY_TO'] = 0; // to use AWS SMS service, SMTP_UNIQUE_SENDER and this have to be = 1

@ -32,10 +32,6 @@ if (defined('SYSTEM_INSTALLATION')) {
api_get_path(CONFIGURATION_PATH).'course_info.conf.dist.php',
api_get_path(CONFIGURATION_PATH).'course_info.conf.php'
);
copy(
api_get_path(CONFIGURATION_PATH).'mail.conf.dist.php',
api_get_path(CONFIGURATION_PATH).'mail.conf.php'
);
copy(
api_get_path(CONFIGURATION_PATH).'profile.conf.dist.php',
api_get_path(CONFIGURATION_PATH).'profile.conf.php'

Loading…
Cancel
Save