Allowing for manually setting binary path for both Aria2 and Youtube-dl

This commit is contained in:
huangjx
2021-09-22 14:07:38 +08:00
parent 9a1d947589
commit 98e62df996
10 changed files with 49 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ class SettingsController extends Controller
public function admin()
{
$this->settings->setType($this->settings::SYSTEM);
$this->settings->setType($this->settings::TYPE['SYSTEM']);
$params = $this->request->getParams();
foreach ($params as $key => $value) {
if (substr($key, 0, 1) == '_') {