Skip to content

Commit

Permalink
Base change.
Browse files Browse the repository at this point in the history
- Fix debugging code line turning HTTP requests into variable dump structure.
  • Loading branch information
i0bs authored Feb 24, 2021
1 parent 0d728cd commit 0476ee3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions TopPHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,10 @@ public function CALL(string $method,
if($request === false) {
$this->RESP = 401;
throw new TopError("HTTP_UNAUTH");
} else {
$this->RESP = 200;
$request = var_dump($request);
}
} else $this->RESP = 200;

return $request;
}
else throw new TopError("HTTP_RATE_LIMIT");
} else throw new TopError("HTTP_RATE_LIMIT");
}

public function GET() {
Expand Down

0 comments on commit 0476ee3

Please sign in to comment.