remove configurable dir for traffic & purge limiters

This commit is contained in:
El RIDO
2021-06-08 06:37:27 +02:00
parent ae486d651b
commit 3429d293d3
11 changed files with 2 additions and 24 deletions

View File

@@ -37,11 +37,8 @@ class ControllerTest extends PHPUnit_Framework_TestCase
$this->_data->delete(Helper::getPasteId());
}
$options = parse_ini_file(CONF_SAMPLE, true);
$options['purge']['dir'] = $this->_path;
$options['traffic']['dir'] = $this->_path;
$options['model_options']['dir'] = $this->_path;
Helper::createIniFile(CONF, $options);
ServerSalt::setPath($this->_path);
}
/**