Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 3ca1252

Browse files
committed
💄 更改 Centerurl
1 parent 9515e42 commit 3ca1252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"database_dir"=> "./database",//访问数据数据库目录
1616
],
1717
"advanced"=> [
18-
"CenterUrl"=> "https://openbmclapi.staging.bangbang93.com",//主控链接(不建议调整)
18+
"Centerurl"=> "https://openbmclapi.staging.bangbang93.com",//主控链接(不建议调整)
1919
"keepalive"=> 60,//keepalive时间,秒为单位(不建议调整)
2020
"MaxConcurrent"=> 30,//下载使用的线程
2121
"Debug"=> false,//Debug开关

main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
mlog("OpenBmclApi on PHP v". PHPOBAVERSION . "-" . VERSION,0,true);
1717

1818
//预处理主控链接
19-
$parsed = parse_url(api::getconfig()['advanced']['CenterUrl']);
19+
$parsed = parse_url(api::getconfig()['advanced']['Centerurl']);
2020
$scheme = isset($parsed['scheme']) ? $parsed['scheme'] : '';
2121
$host = isset($parsed['host']) ? $parsed['host'] : '';
2222
$port = isset($parsed['port']) ? $parsed['port'] : ($scheme === 'https' ? 443 : 80);

0 commit comments

Comments
 (0)