From: Stricted Date: Sat, 18 Jul 2015 02:19:58 +0000 (+0200) Subject: fix checkLogin X-Git-Tag: 1.0.2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34701575931401c1cdc26055df11837bf86be39e;p=GitHub%2FStricted%2Fspeedport-hybrid-php-api.git fix checkLogin --- diff --git a/SpeedportHybrid.class.php b/SpeedportHybrid.class.php index e7a2ab2..c8ee3cb 100644 --- a/SpeedportHybrid.class.php +++ b/SpeedportHybrid.class.php @@ -123,7 +123,7 @@ class SpeedportHybrid { * @return boolean */ public function checkLogin () { - $path = 'data/'.$file.'.json'; + $path = 'data/SecureStatus.json'; $fields = array(); $cookie = 'challengev='.$this->challenge.'; '.$this->session; $data = $this->sentRequest($path, $fields, $cookie);