Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In contrast, installation specific options are set in the file

/application/config/installation.ini

...

c:\xampp\htdocs\translate5\

Options in installation.ini

Code Block
languagetext
;mandatory database connection information:
resources.db.params.host = "DB_HOST"
resources.db.params.username = "DB_USERNAME"
resources.db.params.password = "DB_PASSWORD"
resources.db.params.dbname = "DB_NAME"

;mandatory default sender email address and name; same address is used as receiver for error mails
resources.mail.defaultFrom.email = support@translate5.net
resources.mail.defaultFrom.name = Support Translate5

;If there is no local mail server configured, mail sending can optionally be configured to use a third party mail server
resources.mail.transport.type = Zend_Mail_Transport_Smtp
resources.mail.transport.host = SMTPSERVER

; If authentication is needed for above configure mail server:
resources.mail.transport.auth = login | plain | crammd5 ; → choose the correct authtype here
resources.mail.transport.username = USERNAME
resources.mail.transport.password = PASSWORD


runtimeOptions.sendMailDisabled = 1 ; with this optional setting all mail sending can be disabled. set to 0 or remove entry to enable mail sending.


Summary

The installation.ini contains:

  • database connection information
  • resources.mail.defaultFrom.email  
    => this is the default email-address of your translate5 installation
  • runtimeOptions.sendMailDisabled
    => set to 1, to disable all mail sending. This is the recommended setting, if you have no mailserver installed.
    => set to 0 to enable mail sending. If you use this setting, your php-installation must know a mailserver to pass emails to.
    For your information: If you enable mails in translate5, in case of php errors translate5 will send an email about the error to the mail address configured in resources.mail.defaultFrom.email  

...