Korrektur bei der Download URL
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -99,3 +99,5 @@ data/DoctrineORMModule/cache/
|
|||||||
demos/
|
demos/
|
||||||
extras/documentation
|
extras/documentation
|
||||||
|
|
||||||
|
*.zip
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -253,7 +253,7 @@ class UpdateController
|
|||||||
|
|
||||||
if (!class_exists('cURL'))
|
if (!class_exists('cURL'))
|
||||||
(include LIBRARY_PATH.'curl/curl.class.php');
|
(include LIBRARY_PATH.'curl/curl.class.php');
|
||||||
$curl = new cURL($this->updateDownloadURL.'&'.http_build_query(array('file' => $version->getFilename())));
|
$curl = new cURL($this->updateDownloadURL . $version->getFilename());
|
||||||
$curlStatus = $curl->downloadFile(UPDATE_PATH.'update.zip');
|
$curlStatus = $curl->downloadFile(UPDATE_PATH.'update.zip');
|
||||||
|
|
||||||
if (!is_bool($curlStatus))
|
if (!is_bool($curlStatus))
|
||||||
|
|||||||
Reference in New Issue
Block a user