Explorar el Código

Update lib/Controller.php

Co-authored-by: rugk <rugk+git@posteo.de>
Steven Andrés hace 6 años
padre
commit
ef9780707a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }