Fix PHP deprecation warnings

This commit is contained in:
2025-06-15 01:26:11 +01:00
parent 4c15690a23
commit 85e203cb33
2 changed files with 15 additions and 0 deletions

View File

@ -14,6 +14,14 @@ class BDAParser
{
const RFC_822 = 'D, d M Y H:i:s T';
private $show_dir;
private $archive_url;
private $mp3_bitrate;
private $cachefile;
private $len_cache;
private $cache_dirty = true;
private $meta_cache;
public function __construct($show_dir, $archive_url, $mp3_bitrate = 128)
{
$this->show_dir = $show_dir;

View File

@ -19,6 +19,13 @@ class RSSGenerator
'dcterms' => 'https://purl.org/dc/terms', // for validity periods
];
private $self_url;
private $show_url;
private $items;
private $global_conf;
private $show_conf;
private $show_intro;
public function __construct($feed_url, $show_url)
{
$this->self_url = $feed_url;