QuickQR & Quickad Http:// issue

if you’re facing issue setting bylancer scripts to use https:// instead of http://

this might be caused by using cloudflare services so php is not reading the $_SERVER['HTTPS']; correctly.

the soltion is simple just go to :

includes/functions/func.global.php

and replace this line :

$protocol = isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] && $_SERVER["HTTPS"] != "off"
? "https://" : "http://";

with :

$protocol = "https://";

i recommend this step as now all the links will be https://

if you need any help debugging your php script feel free to contact me.

Author: Ahmed Aly

Web & Apps Developer

Leave a Reply

Your email address will not be published. Required fields are marked *