Skip to content

Commit

Permalink
Update setting.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent 0023de0 commit 6c63413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upload/admin/controller/startup/setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function index(): void {
}

// Encryption
$this->registry->set('encryption', new \Encryption($this->config->get('config_encryption')));
$encryption = new \Encryption($this->config->get('config_encryption'));
$this->registry->set('encryption', $encryption);
}
}

0 comments on commit 6c63413

Please sign in to comment.