-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sample.php
More file actions
executable file
·25 lines (19 loc) · 1.05 KB
/
Copy pathconfig.sample.php
File metadata and controls
executable file
·25 lines (19 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/* Rename/copy this sample to config.php to adjust active configuration */
/* Server connection info */
$hostname = "127.0.0.1";
$port = 119; /* Typically either 119 or 563 if using implicit TLS on reader port */
$tls = false; /* Whether to use implicit TLS. STARTTLS is not supported. */
/* User authentication */
/* Whether credentials are required to access server */
$requireCredentials = false;
/* Whether end users (to this application) are allowed to log in by providing a username and password. Useful if there is default access and users can log in for full access. */
$allowUserAuthentication = true;
/* If $requireCredentials is true and $allowUserAuthentication you MUST provide credentials here to access the NNTP server.
* Otherwise you MAY provide credentials to force those credentials to be used. */
$username = "username";
$password = "password";
/* Group/article display */
$recentTime = 86400; /* Max interval for NEWNEWS command */
$hideEmptyThreshold = 6000; /* Max # of total groups beyond which empty groups are hidden by default */
?>