gnu-social/plugins/DomainWhitelist
Alexei Sorokin ae4f3176b1 Remove "magic quotes" code and avoid wrong order implode
"Magic quotes" were removed in PHP 5.4, no need to mitigate it anymore.

Avoid implode() with the join()-like order of arguments which was deprecated
since PHP 7.4 and implicitly since PHP 5.3.
Also avoid implode() with an implicit separator for stylistic reasons.

mktime() with no arguments has been deprecated since PHP 5.1.
2021-07-16 19:44:41 +01:00
..
forms [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
locale [VersionBump] 2.0.0alpha0 2021-07-16 19:44:38 +01:00
DomainWhitelistPlugin.php Remove "magic quotes" code and avoid wrong order implode 2021-07-16 19:44:41 +01:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

The DomainWhitelist plugin restricts the email addresses in a domain to a
select whitelist.

Installation
============
add "addPlugin('DomainWhitelist');"
to the bottom of your config.php

Settings
========
whitelist: An array of whitelisted domains

Example
=======
$config['email']['whitelist'] = array('example.org', 'example.net');
addPlugin('DomainWhitelist');