From 16669565fba537735de8753093c918fa81d9e900 Mon Sep 17 00:00:00 2001 From: Timot Tarjani Date: Wed, 4 Jan 2017 19:36:37 +0100 Subject: [PATCH] Removed DIRECTORY_SEPARATOR from url, false changed to null. --- src/AutoUpdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoUpdate.php b/src/AutoUpdate.php index c9a942b..36b401a 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;