Skip to content

Configuration: Allowed ChatServers

Adrian Preuß edited this page Jan 10, 2018 · 2 revisions

Check if the Request comes from allowed ChatServers.

Possible Values

Value Type Description
false Boolean Disable check the ChatServers
* String Allow all ChatServers
DE String Knuddels.de
CH String Knuddels.ch
AT String Knuddels.at
COM String Knuddels.com
DEV String developer.knuddels.de
TEST String testserver.knuddels.de

Examples

// Disable the ChatServer check
define('ALLOWED_CHATSERVERS', false);
// Allow All Chatservers
define('ALLOWED_CHATSERVERS', '*');
// Allow only knuddels.de, developer.knuddels.de and testserver.knuddels.de
define('ALLOWED_CHATSERVERS', 'DE,DEV,TEST');