Reorganized files and added script to convert old lists

This commit is contained in:
Nicolas A. Tonne
2014-10-10 13:13:13 +02:00
parent 16f7a6328c
commit 086c999e51
16 changed files with 2858 additions and 1 deletions

8
php/videos.php Executable file
View File

@@ -0,0 +1,8 @@
<?php
$list = htmlspecialchars($_REQUEST['list']);
if(!isset($_REQUEST['list']))$list="videos";
$filename = "../lists/".$list.'.json';
if(!file_exists($filename)){ $f=fopen($filename, "a+"); fwrite($f,"[]"); fclose($f);}
$file = file_get_contents($filename);
print($file);
?>