Explorar o código

change to whitelist_paste_creation

Steven Andrés %!s(int64=6) %!d(string=hai) anos
pai
achega
819d25a74c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Controller.php

+ 1 - 1
lib/Controller.php

@@ -197,7 +197,7 @@ class Controller
     private function _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) {
             $httpHeader = 'HTTP_' . $option;
             if (array_key_exists($httpHeader, $_SERVER) && !empty($_SERVER[$httpHeader])) {