65 lines
2.6 KiB
Plaintext
65 lines
2.6 KiB
Plaintext
/*
|
|
|
|
=========================================================================
|
|
|
|
Security related settings
|
|
|
|
=========================================================================
|
|
|
|
*/
|
|
|
|
# set this to 1 if you want PHPlist to deal with login for the administrative
|
|
# section of the system
|
|
# you will be able to add administrators who control their own lists
|
|
# default login is "admin" with password "phplist"
|
|
#
|
|
$require_login = 0;
|
|
|
|
# if you use login, how many lists can be created per administrator
|
|
define("MAXLIST",1);
|
|
|
|
# if you use commandline, you will need to identify the users who are allowed to run
|
|
# the script. See README.commandline for more info
|
|
$commandline_users = array("admin");
|
|
# or you can use the following to disable the check (take off the # in front of the line)
|
|
# $commandline_users = array();
|
|
|
|
# as of version 2.4.1, you can have your users define a password for themselves as well
|
|
# this will cause some public pages to ask for an email and a password when the password is
|
|
# set for the user. If you want to activate this functionality, set the following
|
|
# to 1. See README.passwords for more information
|
|
define("ASKFORPASSWORD",0);
|
|
|
|
# if you also want to force people who unsubscribe to provide a password before
|
|
# processing their unsubscription, set this to 1. You need to have the above one set
|
|
# to 1 for this to have an effect
|
|
define("UNSUBSCRIBE_REQUIRES_PASSWORD",0);
|
|
|
|
# if a user should immediately be unsubscribed, when using their personal URL, instead of
|
|
# the default way, which will ask them for a reason, set this to 1
|
|
define("UNSUBSCRIBE_JUMPOFF",0);
|
|
|
|
# when a user unsubscribes they are sent one final email informing them of
|
|
# their unsubscription. In order for that email to actually go out, a gracetime
|
|
# needs to be set otherwise it will never go out. The default of 5 minutes should
|
|
# be fine, but you can increase it if you experience problems
|
|
$blacklist_gracetime = 5;
|
|
|
|
# to increase security the session of a user is checked for the IP address
|
|
# this needs to be the same for every request. This may not work with
|
|
# network situations where you connect via multiple proxies, so you can
|
|
# switch off the checking by setting this to 0
|
|
define("CHECK_SESSIONIP",1);
|
|
|
|
# if you use passwords, you can store them encrypted or in plain text
|
|
# if you want to encrypt them, set this one to 1
|
|
# if you use encrypted passwords, users can only request you as an administrator to
|
|
# reset the password. They will not be able to request the password from
|
|
# the system
|
|
define("ENCRYPTPASSWORD",0);
|
|
|
|
# Check for host of email entered for subscription
|
|
# Do not use it if your server is not 24hr online
|
|
# make the 0 a 1, if you want to use it
|
|
$check_for_host = 0;
|