Skip to content

Commit

Permalink
Removed DIRECTORY_SEPARATOR from url, false changed to null.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimot24 authored Jan 4, 2017
1 parent 2853884 commit 1666956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AutoUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1666956

Please sign in to comment.