의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Use Config::get instead of get_config
This commit is contained in:
부모
188d3a6f5e
커밋
9c53108a3e
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
|
@ -491,7 +491,7 @@ function allowed_url($url) {
|
|||
return false;
|
||||
}
|
||||
|
||||
$str_allowed = get_config('system', 'allowed_sites');
|
||||
$str_allowed = Config::get('system', 'allowed_sites');
|
||||
if (! $str_allowed) {
|
||||
return true;
|
||||
}
|
||||
|
@ -535,7 +535,7 @@ function blocked_url($url) {
|
|||
return true;
|
||||
}
|
||||
|
||||
$domain_blocklist = get_config('system', 'blocklist', array());
|
||||
$domain_blocklist = Config::get('system', 'blocklist', array());
|
||||
if (! $domain_blocklist) {
|
||||
return false;
|
||||
}
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue