403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.15.195.84
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/misswavenigeria.com/wp-content/plugins/event-tickets/common/src/Tribe/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/event-tickets/common/src/Tribe/Db.php
<?php

/**
 * Class Tribe__Db
 *
 * Provides information about the database settings.
 */
class Tribe__Db {

	/**
	 * Gets the value of the `max_allowed_packet` setting.
	 *
	 * @since 4.7.12
	 *
	 * @return int
	 *
	 * @link  https://dev.mysql.com/doc/refman/5.7/en/packet-too-large.html
	 */
	public function get_max_allowed_packet_size() {
		/** @var wpdb $wpdb */
		global $wpdb;

		$max_size = $wpdb->get_results( "SHOW VARIABLES LIKE 'max_allowed_packet';", ARRAY_A );
		// default the size to 1MB
		$max_size = ! empty( $max_size[0]['Value'] ) ? $max_size[0]['Value'] : 1048576;

		/**
		 * Filters the size of the `max_allowed_packet` setting in bytes.
		 *
		 * @since 4.7.12
		 *
		 * @param int $max_size By default the `max_allowed_packet` from the database.
		 */
		$max_size = apply_filters( 'tribe_db_max_allowed_packet', $max_size );

		return $max_size;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit