One Hat Cyber Team
Your IP :
18.119.137.2
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
wp-cli-plugins
/
vendor
/
wp-cli
/
doctor-command
/
Edit File:
command.php
<?php if ( ! class_exists( 'WP_CLI' ) ) { return; } spl_autoload_register( function( $class ) { $class = ltrim( $class, '\\' ); if ( 0 !== stripos( $class, 'runcommand\\Doctor\\' ) ) { return; } $parts = explode( '\\', $class ); array_shift( $parts ); // Don't need "runcommand\Doctor" array_shift( $parts ); $last = array_pop( $parts ); // File should be 'class-[...].php' $last = 'class-' . $last . '.php'; $parts[] = $last; $file = dirname( __FILE__ ) . '/inc/' . str_replace( '_', '-', strtolower( implode( $parts, '/' ) ) ); if ( file_exists( $file ) ) { require $file; } }); WP_CLI::add_command( 'doctor', 'runcommand\Doctor\Command' );
Simpan