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.
13 lines
396 B
PHP
13 lines
396 B
PHP
<?php
|
|
// 防止外部破解
|
|
if(!defined('SYSTEM')) {exit();} // 防止外部破解,此行勿改
|
|
|
|
const VERSION = '4.5.3';
|
|
define('AGENT', "biliroaming-php-server/".VERSION);
|
|
// 加上json的Header
|
|
header('Content-Type: application/json; charset=utf-8');
|
|
// 加上web的Header
|
|
header("Access-Control-Allow-Origin: https://www.bilibili.com");
|
|
header("Access-Control-Allow-Credentials: true");
|
|
?>
|