HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: root (0)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/intranet.kauko.lt/wp-content/plugins/dpProEventCalendar/includes/rss.php
<?php

//OLD RSS Feed URL

//Include Configuration
require_once ( dirname (__FILE__) . '/../../../../wp-load.php' );

if( ! is_numeric( $_GET['calendar_id'] ) || $_GET['calendar_id'] <= 0 ) 
	die(); 

$calendar_id = $_GET['calendar_id'];

//Redirect to new RSS Feed URL

wp_redirect( site_url( '?' . DP_PRO_EVENT_CALENDAR_RSS . '=' . $calendar_id . ( isset( $_GET['all'] ) ? '&all=1' : '' ) ) );
die();