Skip to content

Commit 19ca82f

Browse files
authored
Rationalize commented config
1 parent 8a246c6 commit 19ca82f

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

config/config.php.dist

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $config = [
3737
* The 'application' configuration array groups a set configuration options
3838
* relative to an application protected by SimpleSAMLphp.
3939
*/
40-
//'application' => [
40+
'application' => [
4141
/*
4242
* The 'baseURL' configuration option allows you to specify a protocol,
4343
* host and optionally a port that serves as the canonical base for all
@@ -53,7 +53,7 @@ $config = [
5353
* to SimpleSAMLphp's API.
5454
*/
5555
//'baseURL' => 'https://example.com',
56-
//],
56+
],
5757

5858
/*
5959
* The following settings are *filesystem paths* which define where
@@ -114,7 +114,6 @@ $config = [
114114
* Defaults are shown below, to change them, uncomment the line and update as
115115
* needed
116116
*/
117-
118117
//'cert.pdo.table' => 'certificates',
119118
//'cert.pdo.keytable' => 'private_keys',
120119
//'cert.pdo.apply_prefix' => true,
@@ -141,19 +140,22 @@ $config = [
141140
* Set the transport options for the transport method specified. The valid settings are relative to the
142141
* selected transport method.
143142
*/
144-
// // smtp mail transport options
145-
// 'mail.transport.options' => [
146-
// 'host' => 'mail.example.org', // required
147-
// 'port' => 25, // optional
148-
// 'username' => '[email protected]', // optional: if set, enables smtp authentication
149-
// 'password' => 'password', // optional: if set, enables smtp authentication
150-
// 'security' => 'tls', // optional: defaults to no smtp security
151-
// 'smtpOptions' => [], // optional: passed to stream_context_create when connecting via SMTP
152-
// ],
153-
// // sendmail mail transport options
154-
// 'mail.transport.options' => [
155-
// 'path' => '/usr/sbin/sendmail' // optional: defaults to php.ini path
156-
// ],
143+
/*
144+
'mail.transport.options' => [
145+
'host' => 'mail.example.org', // required
146+
'port' => 25, // optional
147+
'username' => '[email protected]', // optional: if set, enables smtp authentication
148+
'password' => 'password', // optional: if set, enables smtp authentication
149+
'security' => 'tls', // optional: defaults to no smtp security
150+
'smtpOptions' => [], // optional: passed to stream_context_create when connecting via SMTP
151+
],
152+
153+
// sendmail mail transport options
154+
/*
155+
'mail.transport.options' => [
156+
'path' => '/usr/sbin/sendmail' // optional: defaults to php.ini path
157+
],
158+
*/
157159

158160
/*
159161
* The envelope from address for outgoing emails.
@@ -364,7 +366,7 @@ $config = [
364366
*
365367
* - %level: the log level (name or number depending on the handler used).
366368
*
367-
- * - %stat: if the log entry is intended for statistical purposes, it will print the string 'STAT ' (bear in mind
369+
* - %stat: if the log entry is intended for statistical purposes, it will print the string 'STAT ' (bear in mind
368370
* the trailing space).
369371
*
370372
* - %trackid: the track ID, an identifier that allows you to track a single session.

0 commit comments

Comments
 (0)