Advertisement:

Author Topic: SMF 2.0.14 - force_ssl  (Read 1216 times)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,350
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
SMF 2.0.14 - force_ssl
« on: August 19, 2017, 03:14:47 PM »
I am not seeing this $modSettings['force_ssl'] variable defined any where in the codebase except this one spot

In sources/Load.php
Code: [Select]

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 - Take your forum to the next level built for 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

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,646
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • Lunarfall
Re: SMF 2.0.14 - force_ssl
« Reply #1 on: August 19, 2017, 05:45:40 PM »
Possibly leftover code while porting from 2.1.
Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Online shawnb61

  • Support Specialist
  • Full Member
  • *
  • Posts: 508
    • sbulen on GitHub
Re: SMF 2.0.14 - force_ssl
« Reply #2 on: August 19, 2017, 06:20:16 PM »
Correct...   it doesn't belong there...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp