change HOST to ADDR

ADDR is recommended no clue why and what the differance is exactly but for me HOST dus not work ADDR does.
pull/3285/head
SpaceCabbie 6 years ago committed by GitHub
parent 5c4d97fa81
commit b5dde131a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugin/maintenancemode/plugin.php

@ -124,7 +124,7 @@ if ($editFile && $isPlatformAdmin) {
$default = '
RewriteCond %{REQUEST_URI} !'.$append.'/maintenance.html$
RewriteCond %{REMOTE_HOST} !^'.$implode.'
RewriteCond %{REMOTE_ADDR} !^'.$implode.'
RewriteRule \.*$ '.$append.'/maintenance.html [R=302,L]
';
if (empty($block)) {

Loading…
Cancel
Save