Browse Source

Fixed publish mkdir

tags/v1.3
Teknikode 6 years ago
parent
commit
a3816e555d
2 changed files with 1 additions and 3 deletions
  1. 1
    1
      podcast/publish_podcast.php
  2. 0
    2
      templates/default/js/podcast.js

+ 1
- 1
podcast/publish_podcast.php View File

@@ -55,7 +55,7 @@ if(isset($_POST))
if($success)
{
mkdir($_CONF['podcast_dir'].$title);
mkdir($_CONF['podcast_dir'].$title, 0777, true);
$files = explode(',', $file);
foreach ($files as $single)
{

+ 0
- 2
templates/default/js/podcast.js View File

@@ -111,8 +111,6 @@ $(document).ready(function() {
{
if(html)
{
podFile=encodeURIComponent($("#edit_podcast_file").val());
var fileList = $("#edit_podcast_file").val().split(',');
var oldFileList = html.split(',');
for (var i = 0; i < fileList.length; i++)

Loading…
Cancel
Save