mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Review update
Rename function, move others
This commit is contained in:
parent
0f1be37279
commit
f04d40a37e
55 changed files with 331 additions and 326 deletions
|
@ -61,7 +61,7 @@ function parse_url_content(App $a) {
|
|||
// the URL with the corresponding BBCode media tag
|
||||
$redirects = 0;
|
||||
// Fetch the header of the URL
|
||||
$result = Network::zFetchURL($url, false, $redirects, ["novalidate" => true, "nobody" => true]);
|
||||
$result = Network::curl($url, false, $redirects, ["novalidate" => true, "nobody" => true]);
|
||||
if($result["success"]) {
|
||||
// Convert the header fields into an array
|
||||
$hdrs = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue