HEX
Server: Apache/2.4.61 (Debian)
System: Linux 5b6832e2c106 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User: www-data (33)
PHP: 8.2.23
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/revslider/includes/backwards.php
<?php
/**
 * @author    ThemePunch <[email protected]>
 * @link      https://www.themepunch.com/
 * @copyright 2022 ThemePunch
 */
 
if(!defined('ABSPATH')) exit();

/**
 * backwards compatibility prior 6.0.0 code
 * @START
 **/

class RevSliderBase {
	
	public static function check_file_in_zip($d_path, $image, $alias, $alreadyImported = false){
		$f = RevSliderGlobals::instance()->get('RevSliderFunctions');
		
		return $f->check_file_in_zip($d_path, $image, $alias, $alreadyImported, $add_path = false);
	}
}

class RevSliderFunctionsWP {
	public static function getImageUrlFromPath($url){
		$f = RevSliderGlobals::instance()->get('RevSliderFunctions');
		return $f->get_image_url_from_path($url);
	}
	
	public static function get_image_id_by_url($image_url){
		$f = RevSliderGlobals::instance()->get('RevSliderFunctions');
		return $f->get_image_id_by_url($image_url);
	}
}

class RevSliderOperations {
	public function getGeneralSettingsValues(){
		$f = RevSliderGlobals::instance()->get('RevSliderFunctions');
		return $f->get_global_settings();
	}
}

class RevSlider extends RevSliderSlider {
	public function __construct(){
		//echo '<!-- Slider Revolution Notice: Please do not use the class "RevSlider" anymore, use "RevSliderSlider" instead -->'."\n";
	}
}

class UniteFunctionsRev extends RevSliderFunctions {}

if(!function_exists('set_revslider_as_theme')){
	function set_revslider_as_theme(){
	}
}

/**
 * backwards compatibility prior 6.0.0 code
 * @END
 **/