functions.php: minor changes
This commit is contained in:
parent
007e7d35a2
commit
be955cc3b7
@ -209,7 +209,7 @@ function openmamba_download_func( $atts ) {
|
||||
if (strpos(";".$a['archs'].";",$currarch) == false) continue;
|
||||
$ret .= openmamba_download_link($milestone,$medium,$currarch,$ext,$langs[$outputlang],$outputlang);
|
||||
}
|
||||
$out .= "";
|
||||
$out = "";
|
||||
foreach ($langs as $l => $lang) {
|
||||
if ($l == $outputlang) continue;
|
||||
reset($archname);
|
||||
@ -451,7 +451,7 @@ function user_registration_filter($user_id, $email) {
|
||||
if ($user_id == false) {
|
||||
$e1 = explode("@", $email);
|
||||
if (in_array($e1[1], array(
|
||||
'xtra.ltd','tmobile.agency','btee.online','verizonconnect.online',
|
||||
'xtra.ltd','tmobile.agency','btee.online','verizonconnect.online','proton.me',
|
||||
'eduonline.digital','vofadonepro.online','tasktracker.in'))) {
|
||||
error_log( "user_registration_filter: email=" . $email . " blacklisted domain=" . $e1[1] );
|
||||
$user_id = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user