Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.4.0
- * @ Author : DeZender
- * @ Release on : 19.05.2018
- * @ Official site : http://DeZender.Net
- *
- */
- $version = '1.0';
- session_start();
- require 'config/config.php';
- require 'classes/xbot.class.php';
- $connect_database = $config['database']['connect'];
- $cfg = $config['general'];
- $xbot = new Xbot();
- $query_sql = new mysqli($connect_database['db_ip'], $connect_database['db_user'], $connect_database['db_password'], $connect_database['db_name']);
- $pid = file_get_contents('cache/bot_pid.txt');
- exec('ps -p ' . $pid, $output);
- if (count($output) <= 1) {
- $error = ['type' => 1, 'info' => 'bot_not_running'];
- }
- if ($query_sql->connect_errno != 0) {
- $error = ['type' => 0, 'info' => 'db_main'];
- session_unset();
- unset($query_sql);
- }
- else {
- $query_sql->query('SET CHARACTER SET utf8');
- $query_sql->query('SET NAMES utf8');
- }
- if ($config['database']['xbot']['enabled']) {
- $connect_database_xbot = $config['database']['xbot'];
- $query_sql_xbot = new mysqli($connect_database_xbot['db_ip'], $connect_database_xbot['db_user'], $connect_database_xbot['db_password'], $connect_database_xbot['db_name']);
- if ($query_sql_xbot->connect_errno != 0) {
- ...............................................................
- .....................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement