Browse Source

Fixed misnaming of CONF variable

tags/v1.3
Teknikode 5 years ago
parent
commit
2a8a6cea9e
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      podcast/publish_podcast.php

+ 2
- 3
podcast/publish_podcast.php View File

@@ -55,12 +55,11 @@ if(isset($_POST))
if($success)
{
mkdir($_CONF['podcast_dir'].$title, 0777, true);
echo $_CONF['podcast_dir'].$title;
mkdir($CONF['podcast_dir'].$title, 0777, true);
$files = explode(',', $file);
foreach ($files as $single)
{
rename($_CONF['podcast_dir'].$single, $_CONF['podcast_dir'].$title.'/'.$single);
rename($CONF['podcast_dir'].$single, $CONF['podcast_dir'].$title.'/'.$single);
}
$data = array(
"title" => $title,

Loading…
Cancel
Save