fix bad constant names

This commit is contained in:
Garvin Hicking 2018-05-14 14:46:35 +02:00
parent f847354e20
commit be1d9ffc2a
2 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,6 @@
#
1.37.3: Fixed bad constand name "DDEFAULT" to "DEFAULT"
1.37.2:
-----
* Added serendipity_request_url API method

View file

@ -14,7 +14,7 @@ if (file_exists($probelang)) {
include_once dirname(__FILE__) . '/lang_en.inc.php';
include_once dirname(__FILE__) . '/podcast_player.php';
@define("SERENDIPITY_EVENT_PODCAST_VERSION", "1.37.2");
@define("SERENDIPITY_EVENT_PODCAST_VERSION", "1.37.3");
class serendipity_event_podcast extends serendipity_event {
/**
@ -1212,11 +1212,11 @@ class serendipity_event_podcast extends serendipity_event{
if (!isset($this->supportedFiletypes)) {
$this->supportedFiletypes = array();
$qtexts = explode(',', $this->get_config('extquicktime' ,PLUGIN_PODCAST_QTEXT_DDEFAULT));
$wmexts = explode(',', $this->get_config('extwinmedia' ,PLUGIN_PODCAST_WMEXT_DDEFAULT));
$flexts = explode(',', $this->get_config('extflash' ,PLUGIN_PODCAST_MFEXT_DDEFAULT));
$mp3exts = explode(',', $this->get_config('extaudio' ,PLUGIN_PODCAST_AUEXT_DDEFAULT));
$xspfexts = explode(',', $this->get_config('extxspf' ,PLUGIN_PODCAST_XSPFEXT_DDEFAULT));
$qtexts = explode(',', $this->get_config('extquicktime' ,PLUGIN_PODCAST_QTEXT_DEFAULT));
$wmexts = explode(',', $this->get_config('extwinmedia' ,PLUGIN_PODCAST_WMEXT_DEFAULT));
$flexts = explode(',', $this->get_config('extflash' ,PLUGIN_PODCAST_MFEXT_DEFAULT));
$mp3exts = explode(',', $this->get_config('extaudio' ,PLUGIN_PODCAST_AUEXT_DEFAULT));
$xspfexts = explode(',', $this->get_config('extxspf' ,PLUGIN_PODCAST_XSPFEXT_DEFAULT));
$flvexts = explode(',', $this->get_config('extflow' ,PLUGIN_PODCAST_FLOWEXT_DEFAULT));
$a5exts = explode(',', $this->get_config('exthtml5_audio',PLUGIN_PODCAST_HTML5_AUDIO_DEFAULT));
$v5exts = explode(',', $this->get_config('exthtml5_video',PLUGIN_PODCAST_HTML5_VIDEO_DEFAULT));