Changeset 2014379 for https-force/trunk/https-force.php
- Timestamp:
- 01/17/2019 07:33:21 PM (7 years ago)
- File:
-
- 1 edited
-
https-force/trunk/https-force.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
https-force/trunk/https-force.php
r1910390 r2014379 104 104 105 105 // Take care of URLs in text 106 $buffer = str_replace('http://' . $_SERVER['HTTP_HOST'], 'https://' . $_SERVER['HTTP_HOST'], $buffer); 106 if (!is_admin()) { 107 $buffer = str_replace('http://' . $_SERVER['HTTP_HOST'], 'https://' . $_SERVER['HTTP_HOST'], $buffer); 108 } 107 109 108 110 // Take care of Google URLs
Note: See TracChangeset
for help on using the changeset viewer.