Răsfoiți Sursa

Update lib/Controller.php

Co-authored-by: rugk <rugk+git@posteo.de>
Steven Andrés 6 ani în urmă
părinte
comite
ef9780707a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      lib/Controller.php

+ 1 - 1
lib/Controller.php

@@ -204,7 +204,7 @@ class Controller
                 $remoteip = $_SERVER[$httpHeader];
             }
         }
-        if( !in_array($remoteip, $whitelist) ) {
+        if(!in_array($remoteip, $whitelist)) {
             $this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
             return;
         }