Update text.php

This commit is contained in:
Max Kostikov 2018-11-29 23:07:39 +01:00
parent f3831fa77f
commit d6442ec991

View File

@ -1139,11 +1139,6 @@ function sslify($s) {
// Complain to your browser maker
$allow = get_config('system','sslify_everything');
//We can skip next part if this only images and cache is on
if((! $allow) && $cacheon)
return $s;
$pattern = (($allow) ? "/\<(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" : "/\<img(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" );
$matches = null;