mirror of
https://github.com/nextcloud/nextcloud.com.git
synced 2026-01-12 15:44:37 +00:00
* Use REMOTE_ADDR field The other ones are not used at all. This would allow someone to spoof the configured IP address and bypass any rate limit. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> * Add basic ratelimiting class Signed-off-by: Lukas Reschke <lukas@statuscode.ch> * Remove Mautic submission form Signed-off-by: Lukas Reschke <lukas@statuscode.ch> * Replace captcha with ratelimiter Signed-off-by: Lukas Reschke <lukas@statuscode.ch> * Space + tabs Signed-off-by: Lukas Reschke <lukas@statuscode.ch> * Dont check if no REDIS is defined in config Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
20 lines
603 B
Plaintext
20 lines
603 B
Plaintext
<?php
|
|
// Enables CONTRIBOOK (required mysql database)
|
|
define('CONTRIBOOK', 0);
|
|
|
|
// Defines the author id of the official user posting announcements (used to produce rss feed)
|
|
define('OFFICIALAUTHORID', 1);
|
|
|
|
// Enables or disables the piwik tracking code
|
|
define('PIWIKTRACKING', 0);
|
|
|
|
// Providers
|
|
define('PROVIDERS_FILE', ABSPATH . 'preferred.json');
|
|
define('REDIS', 'tcp://127.0.0.1:6379');
|
|
define('PPP_KEY', 'c59cf7fa39d4ed2cdaf1997cc16f902e');
|
|
|
|
// Phplist
|
|
define('NEWSLETTER_API_URL', '');
|
|
define('NEWSLETTER_ID', 0);
|
|
define('NEWSLETTER_API_USER', 'admin');
|
|
define('NEWSLETTER_API_TOKEN', 'password'); |