diff options
Diffstat (limited to 'genplaylist.php')
-rwxr-xr-x | genplaylist.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/genplaylist.php b/genplaylist.php deleted file mode 100755 index c1c7135..0000000 --- a/genplaylist.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - - if (file_exists('config.php')) - include ('config.php'); - else - include ('config_default.php'); - include ('includes/inc_files.php'); - header('Content-Type: text/xml'); - echo "<?xml version=\"1.0\"?>\n"; - echo "<status>\n"; - - $path = $_REQUEST['path']; - $name = $_REQUEST['name']; - - exec('rm playlist/*'); - exec('echo > playlist/dummy.txt'); - exec('ln -s ' .addcslashes(quotemeta($path), " &'") .'* playlist'); - - echo "<m3u>ok</m3u>\n"; - - echo "</status>\n"; - -?> |