diff --git a/src/AutoUpdate.php b/src/AutoUpdate.php index 2c80a1f..8337f58 100755 --- a/src/AutoUpdate.php +++ b/src/AutoUpdate.php @@ -444,6 +444,7 @@ public function checkUpdate() throw new DownloadException($updateFile); } } else { + // TODO: Throw exception on error $update = @file_get_contents($updateFile, false, $this->_useBasicAuth()); if ($update === false) { @@ -599,6 +600,7 @@ protected function _downloadUpdate($updateUrl, $updateFile) return false; } } elseif (ini_get('allow_url_fopen')) { + // TODO: Throw exception on error $update = @file_get_contents($updateUrl, false, $this->_useBasicAuth()); if ($update === false) {