improved database backend support for larger files (100 KiB - 16 MiB),

introduced database versioning to reduce amount of checks done per
request
This commit is contained in:
El RIDO
2015-11-01 17:02:20 +01:00
parent 9d27e7a65d
commit 42a9c92b5e
3 changed files with 281 additions and 81 deletions

View File

@@ -184,6 +184,7 @@ class zerobinTest extends PHPUnit_Framework_TestCase
$this->reset();
$options = parse_ini_file(CONF, true);
$options['traffic']['header'] = 'X_FORWARDED_FOR';
$options['traffic']['limit'] = 100;
helper::confBackup();
helper::createIniFile(CONF, $options);
$_POST = helper::getPaste();