fix checkLogin
[GitHub/Stricted/speedport-hybrid-php-api.git] / SpeedportHybrid.class.php
index e7a2ab21c2991b9028eb9f96f90084c1c5ace2b4..c8ee3cbbf0d860f1232b513404229915f2124749 100644 (file)
@@ -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);