probably fixed #118
This commit is contained in:
@@ -56,7 +56,7 @@ class Aria2
|
|||||||
];
|
];
|
||||||
//turn keys in $options into variables
|
//turn keys in $options into variables
|
||||||
extract($options);
|
extract($options);
|
||||||
if (isset($binary) && $this->isExecutable($binary)) {
|
if (!empty($binary)) {
|
||||||
$this->bin = $binary;
|
$this->bin = $binary;
|
||||||
} else {
|
} else {
|
||||||
$this->bin = Helper::findBinaryPath('aria2c', __DIR__ . "/../../bin/aria2c");
|
$this->bin = Helper::findBinaryPath('aria2c', __DIR__ . "/../../bin/aria2c");
|
||||||
|
|||||||
Reference in New Issue
Block a user