소스 검색

Update lib/Controller.php

Co-authored-by: rugk <rugk+git@posteo.de>
Steven Andrés 6 년 전
부모
커밋
ef9780707a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
         }