diff --git a/upload/modules/Members/classes/Members.php b/upload/modules/Members/classes/Members.php index a6cc691..fc97e7d 100644 --- a/upload/modules/Members/classes/Members.php +++ b/upload/modules/Members/classes/Members.php @@ -37,7 +37,7 @@ public static function updateCheck($current_version = null) { $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($ch, CURLOPT_URL, 'https://api.partydragen.com/stats.php?uid=' . $uid . '&version=' . $current_version . '&module=Members&module_version='.$module->getVersion()); + curl_setopt($ch, CURLOPT_URL, 'https://api.partydragen.com/stats.php?uid=' . $uid . '&version=' . $current_version . '&module=Members&module_version='.$module->getVersion() . '&domain='. Util::getSelfURL()); $update_check = curl_exec($ch); curl_close($ch); diff --git a/upload/modules/Members/module.php b/upload/modules/Members/module.php index 76fd2b1..9f0fe53 100644 --- a/upload/modules/Members/module.php +++ b/upload/modules/Members/module.php @@ -18,7 +18,7 @@ public function __construct($members_language, $pages, $navigation, $cache){ $name = 'Members'; $author = 'Partydragen, Samerton'; - $module_version = '2.1.0'; + $module_version = '2.1.1'; $nameless_version = '2.0.0-pr8'; parent::__construct($this, $name, $author, $module_version, $nameless_version); @@ -146,7 +146,7 @@ public function onPageLoad($user, $pages, $cache, $smarty, $navs, $widgets, $tem if(rtrim($_GET['route'], '/') == '/panel/members' || rtrim($_GET['route'], '/') == '/members'){ $cache->setCache('members_module_cache'); - if($cache->isCached('update_checko')){ + if($cache->isCached('update_check')){ $update_check = $cache->retrieve('update_check'); } else { require_once(ROOT_PATH . '/modules/Members/classes/Members.php');