소스 검색

change to whitelist_paste_creation

Steven Andrés 6 년 전
부모
커밋
819d25a74c
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Controller.php

+ 1 - 1
lib/Controller.php

@@ -197,7 +197,7 @@ class Controller
     private function _create()
     private function _create()
     {
     {
         // Check whitelist if allowed to create
         // Check whitelist if allowed to create
-        $whitelist = explode(',', $this->_conf->getKey('whitelist', 'traffic'));
+        $whitelist = explode(',', $this->_conf->getKey('whitelist_paste_creation', 'traffic'));
         if (($option = $this->_conf->getKey('header', 'traffic')) !== null) {
         if (($option = $this->_conf->getKey('header', 'traffic')) !== null) {
             $httpHeader = 'HTTP_' . $option;
             $httpHeader = 'HTTP_' . $option;
             if (array_key_exists($httpHeader, $_SERVER) && !empty($_SERVER[$httpHeader])) {
             if (array_key_exists($httpHeader, $_SERVER) && !empty($_SERVER[$httpHeader])) {