diff --git a/src/AutoUpdate.php b/src/AutoUpdate.php index c9a942b..bdf6f6c 100644 --- a/src/AutoUpdate.php +++ b/src/AutoUpdate.php @@ -428,9 +428,9 @@ public function checkUpdate() $versions = $this->_cache->get('update-versions'); // Check if cache is empty - if ($versions === false) { + if ($versions === null) { // Create absolute url to update file - $updateFile = $this->_updateUrl . DIRECTORY_SEPARATOR . $this->_updateFile; + $updateFile = $this->_updateUrl . '/' . $this->_updateFile; if (!empty($this->_branch)) $updateFile .= '.' . $this->_branch;