News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SMF 2.0.14 - force_ssl

Started by vbgamer45, August 19, 2017, 03:14:47 PM

Previous topic - Next topic

vbgamer45

I am not seeing this $modSettings['force_ssl'] variable defined any where in the codebase except this one spot

In sources/Load.php


if (!empty($modSettings['force_ssl']) && $image_proxy_enabled && stripos($user_settings['avatar'], 'http://') !== false)
$user_settings['avatar'] = strtr($boardurl, array('http://' => 'https://')) . '/proxy.php?request=' . urlencode($user_settings['avatar']) . '&hash=' . md5($user_settings['avatar'] . $image_proxy_secret);

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Antes

Possibly leftover code while porting from 2.1.

shawnb61

Correct...   it doesn't belong there...
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: