mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Make the proxy functionality optional
This commit is contained in:
parent
225d368139
commit
bdb5aa6bd9
8 changed files with 225 additions and 200 deletions
|
@ -82,6 +82,10 @@ class Proxy
|
|||
*/
|
||||
public static function proxifyUrl($url, $size = '')
|
||||
{
|
||||
if (!DI::config()->get('system', 'proxify_content')) {
|
||||
return $url;
|
||||
}
|
||||
|
||||
// Trim URL first
|
||||
$url = trim($url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue