浏览代码

Update index.php

wibyweb 2 年之前
父节点
当前提交
cd0593b522
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      html/json/index.php

+ 5 - 0
html/json/index.php

@@ -34,6 +34,11 @@ else
 	$starappend = 0;
 
 	$startID = 0;
+	
+	if(isset($_REQUEST['nsfw']))
+	{
+		$worksafe = false;
+	}
 
 	if (!isset($_REQUEST['o'])) 
 	{