mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 03:01:34 +00:00
Use env setting in place of database
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user