Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
radenvodka committed Jun 4, 2019
1 parent b9c36e1 commit b8fbf80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* @Author: Nokia 1337
* @Date: 2019-06-01 09:58:00
* @Last Modified by: Nokia 1337
* @Last Modified time: 2019-06-05 02:48:39
* @Last Modified time: 2019-06-05 03:13:29
*/
class Recsech
{
function __construct()
{
$this->sdata = new Sdata;
$this->version = '1.6';
$this->version = '1.6.0';
}
function Required(){
echo color("yellow", "[+] Check required : \r\n");
Expand All @@ -29,7 +29,7 @@ function Update(){
$respons = $this->sdata->sdata($url,$head);unset($url);unset($head);
foreach ($respons as $key => $value) {
$json = json_decode($value['respons'],true);
if($this->version < $json['tag_name']){
if( $this->version < $json['tag_name']){
echo color("yellow", "[+] ").color("red", "You are using the old version (".$this->version.") , update it to version ".$json['tag_name']."\r\n\n");
echo color("nevy", " + Version Name : ".color("green",$json['name']." [NEW]") )."\r\n";
echo color("nevy", " + Author : ".color("green",$json['author'][login]) )."\r\n";
Expand Down

0 comments on commit b8fbf80

Please sign in to comment.