HEX
Server: Apache
System: Linux webm003.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: assotraipi (849654)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/assotraipi/www/wp-content/plugins/download-monitor/src/DownloadPreview/Config.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly

class DLM_DownloadPreview_Config {

	/** @var  DLM_Download */
	private $download = null;

	/** @var string */
	private $template = "";

	/**
	 * @return DLM_Download
	 */
	public function get_download() {
		return $this->download;
	}

	/**
	 * @param DLM_Download $download
	 */
	public function set_download( $download ) {
		$this->download = $download;
	}

	/**
	 * @return string
	 */
	public function get_template() {

		if ( "settings" == $this->template ) {
			$this->template = dlm_get_default_download_template();
		}

		return $this->template;
	}

	/**
	 * @param string $template
	 */
	public function set_template( $template ) {
		$this->template = $template;
	}


}