Use env setting in place of database

This commit is contained in:
DariusIII
2024-01-16 21:29:49 +01:00
parent c57d5037e9
commit 06dbcde05d
4 changed files with 5 additions and 3 deletions
@@ -408,7 +408,7 @@ class ProcessAdditional
protected function _setMainTempPath(&$guidChar, string &$groupID = ''): void
{
// Set up the temporary files folder location.
$this->_mainTmpPath = (string) Settings::settingValue('..tmpunrarpath');
$this->_mainTmpPath = config('nntmux.tmp_unrar_path');
// Check if it ends with a dir separator.
if (! preg_match('/[\/\\\\]$/', $this->_mainTmpPath)) {