From 154b63534baf812bf9a5234774daf09952556285 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 8 Dec 2021 03:38:10 +0800 Subject: TSOP 2.7.1: help & format switching. Also finally removed all reminiscence of the legacy player. --- libs/music/player.d/plistcreator.php | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 libs/music/player.d/plistcreator.php (limited to 'libs/music/player.d/plistcreator.php') diff --git a/libs/music/player.d/plistcreator.php b/libs/music/player.d/plistcreator.php deleted file mode 100644 index b4f12c7..0000000 --- a/libs/music/player.d/plistcreator.php +++ /dev/null @@ -1,20 +0,0 @@ -
-=100)
-	{echo "E: invalid plistid.";exit();}
-	if(intval($_POST["plistid"])<16&&strcmp($_SERVER["REMOTE_ADDR"],"127.0.0.1")!=0&&strcmp($_SERVER["REMOTE_ADDR"],"::1")!=0&&strpos($_SERVER["REMOTE_ADDR"],"192.168")!==0&&strpos($_SERVER["REMOTE_ADDR"],"10.42")!==0)
-	{echo "W: Protected play list. Doing nothing. " . $_SERVER["REMOTE_ADDR"];exit();}
-	$fn=sprintf("/var/www/html/libs/music/player.d/playlists/%s",$_POST["plistid"]);
-	$file=fopen($fn,"w");
-	fwrite($file,$_POST["plistname"]);fwrite($file,"\n");
-	for($i=0;$iPlay it now!";
-?>
-
-- cgit v1.2.3