* [MOD] Use config cache file instead of storing it in PHP's session

* [MOD] Unit testing tweaks in order to renew config cache

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-11-12 00:12:01 +01:00
parent 2f11c46244
commit 5a549532f6
31 changed files with 529 additions and 368 deletions

View File

@@ -73,6 +73,7 @@ final class Init extends ModuleBase
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException
* @throws \SP\Storage\File\FileException
*/
public function initialize($controller)
{
@@ -82,7 +83,7 @@ final class Init extends ModuleBase
$this->context->initialize();
// Load config
$this->config->loadConfig($this->context);
$this->config->loadConfig();
// Load language
$this->language->setLanguage();