gnu-social/plugins/DomainWhitelist
Alexei Sorokin 8079a476b6 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.
2020-09-15 14:59:27 +03:00
..
forms [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
locale [VersionBump] 2.0.0alpha0 2020-08-04 05:31:44 +01:00
DomainWhitelistPlugin.php Remove "magic quotes" code and avoid wrong order implode 2020-09-15 14:59:27 +03:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

README

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');