Server IP : 104.21.14.103 / Your IP : 3.149.255.248 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/duplicator-pro/classes/environment/ |
Upload File : |
<?php defined('ABSPATH') or die(""); require_once(DUPLICATOR_PRO_PLUGIN_PATH.'/classes/environment/class.db.checker.php'); class DUP_PRO_Environment_Checker implements DUP_PRO_iChecker { public function __construct() { $this->checkers['db'] = new DUP_PRO_DB_Checker(); $this->errors = array(); $this->helper_messages = array(); } public function check() { $total_result = true; foreach ($this->checkers as $id => $checker) { $passed = $checker->check(); $total_result = $total_result && $passed; if (!$passed) { $this->errors[$id] = $checker->getErrors(); $this->helper_messages[$id] = $checker->getHelperMessages(); } } return $total_result; } public function getErrors() { return $this->errors; } public function getHelperMessages() { return $this->helper_messages; } }