You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BiliRoaming-PHP-Server/utils/replace.php

27 lines
608 B
PHP

<?php
// 防止外部破解
if(!defined('SYSTEM')) {exit();}
// 替换内容
$output = str_replace("\u0026", "&", $output);
switch ($type) {
case 0: // 搜索
if ($cache_type != "web") {
include (ROOT_PATH."utils/fuck_search.php"); // 搜索结果添加提示
}
break;
case 1: // playurl
break;
case 2: // 东南亚APP season
$output = str_replace('"vip":0', '"vip":1', $output); // 支持漫游 #320
if (AREA == "th") {
include (ROOT_PATH."utils/fuck_sub.php"); // 添加中文字幕
}
break;
case 3: // 东南亚APP 字幕
break;
case 4: // 东南亚APP episode
break;
}
?>