. */ $config = array(); // // GENERAL SITE SETTINGS // //web team contact // this email address will be displayed if there is a database error $config['email_web'] = 'admin@example.com'; //address to send emails from $config['email_from'] = 'gpg-mailgate-web@example.com'; //this will be used as the subject when a user requests to add a PGP key $config['email_subject_requestpgp'] = 'Confirm your email address'; //site URL, without trailing slash $config['site_url'] = 'http://example.com/gpgmw'; //title of the website (displayed on home page) $config['site_title'] = 'PGP key management'; // // MAIL SETTINGS // //whether to send mail through SMTP (instead of PHP mail function) $config['mail_smtp'] = false; //SMTP settings, if mail_smtp is enabled $config['mail_smtp_host'] = 'localhost'; $config['mail_smtp_port'] = 25; $config['mail_smtp_username'] = 'gpgmw'; $config['mail_smtp_password'] = ''; // // DATABASE SETTINGS // //database name (MySQL only); or see include/dbconnect.php $config['db_name'] = 'gpgmw'; //database host $config['db_host'] = 'localhost'; //database username $config['db_username'] = 'gpgmw'; //database password $config['db_password'] = ''; // // LOCK SETTINGS // //the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased) $config['lock_time_initial'] = array('requestpgp' => 10); //the number of tries a user has (that passes the lock_time_initial test) before being locked by overload (extended duration) $config['lock_count_overload'] = array('requestpgp' => 3); //the time that overloads last $config['lock_time_overload'] = array('requestpgp' => 900); //time after which locks no longer apply, assuming the lock isn't active $config['lock_time_reset'] = 300; //max time to store locks in the database; this way we can clear old locks with one function $config['lock_time_max'] = 3600; ?>