Update text.php
This commit is contained in:
		| @@ -1139,11 +1139,6 @@ function sslify($s) { | |||||||
| 	// Complain to your browser maker | 	// Complain to your browser maker | ||||||
|  |  | ||||||
| 	$allow = get_config('system','sslify_everything'); | 	$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\:.*?)[\"|'](.*?)\>/" ); | 	$pattern = (($allow) ? "/\<(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" : "/\<img(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" ); | ||||||
|  |  | ||||||
| 	$matches = null; | 	$matches = null; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user