You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: modules/config.php
-44
Original file line number
Diff line number
Diff line change
@@ -10,50 +10,6 @@
10
10
* Please respect me for making this tool from the beginning.
11
11
*/
12
12
13
-
/** Cek Additional */
14
-
$climate->br()->info('Oops, additional programs are needed to run this tool.');
15
-
sleep(5);
16
-
$climate->br()->info('Start a check for needs..');
17
-
progress($progress);
18
-
19
-
if(!fsockopen("$cek_connection", 80)) {
20
-
die ("" . $climate->br()->backgroundRed()->out("Could not open the server, connection issues?"));
21
-
}
22
-
23
-
if(phpversion() < "7.0.0"){
24
-
die ("" . $climate->br()->backgroundRed()->out("Your PHP Version is " . phpversion() . ", this PHP Version no support, please update to PHP Version 7."));
25
-
}
26
-
27
-
if(!function_exists('curl_init')) {
28
-
die ("" . $climate->br()->backgroundRed()->out("cURL not found! please install cURL"));
29
-
}
30
-
31
-
$climate->br()->backgroundGreen()->out('Congratulations, the requirements for the program have been fulfilled.');
32
-
sleep(5);
33
-
/** End Cek Additional */
34
-
35
-
print$banner;
36
-
sleep(3);
37
-
$climate->table($data_socialmedia);
38
-
sleep(3);
39
-
40
-
/** Cek Status */
41
-
if($status == "hidup"){
42
-
43
-
} elseif($status == "autoupdate"){
44
-
$climate->br()->backgroundRed()->out('This tool is being updated automatically..');
45
-
system('git fetch --all');
46
-
system('git reset --hard origin/master');
47
-
system('git pull origin master');
48
-
exit;
49
-
} elseif($status == "update"){
50
-
$climate->br()->backgroundRed()->out('Sorry, this tool has expired, the latest version is available : ' . $update . ', please update again.');
51
-
$climate->br()->info("usage : 'php run.php -update' or 'php run.php -u'");
0 commit comments