Skip to content

Commit

Permalink
Framework: release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Jan 29, 2019
1 parent 7d7beb9 commit 8179683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/iTXTech/SimpleFramework/Framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

class Framework implements OnCompletionListener{
public const PROG_NAME = "SimpleFramework";
public const PROG_VERSION = "2.1.0-beta.2";
public const PROG_VERSION = "2.1.0";
public const API_LEVEL = 6;
public const CODENAME = "Navi";

Expand Down
8 changes: 1 addition & 7 deletions src/iTXTech/SimpleFramework/Util/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ public function setUA(string $ua){
return parent::setUserAgent($ua);
}

public function setGet(array $get){
parent::setGet($get);
curl_setopt($this->curl, CURLOPT_URL, $this->url);
return $this;
}

public function setUrl(string $url){
$this->url = $url;
curl_setopt($this->curl, CURLOPT_URL, $url);
Expand All @@ -70,7 +64,7 @@ public function getContent(){
}

public function exec(){

curl_setopt($this->curl, CURLOPT_URL, $this->url);
$this->content = curl_exec($this->curl);
$this->reload();
return $this->content;
Expand Down

0 comments on commit 8179683

Please sign in to comment.