Guest Posted November 28, 2006 Posted November 28, 2006 Hi everybody, I have a qust. and I don't know if it possible to proccess or not, There is an infobox in my store and I want to hide it if the customers moved to a secure area HTTPS. eg. if the customer in http://site.... he can see the "What's New" box but if he moved to a secure are https://site... he will not see the "What's New" box So, is there a code to put in column_left.php and before require(DIR_WS_BOXES . 'whats_new.php'); ? Hope it to be possible :thumbsup:
Jack_mcs Posted November 28, 2006 Posted November 28, 2006 Change the code to <?php if ($request_type == NONSSL) { require(DIR_WS_BOXES . 'whats_new.php'); } Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted November 28, 2006 Posted November 28, 2006 Change the code to <?php if ($request_type == NONSSL) { require(DIR_WS_BOXES . 'whats_new.php'); } Jack Thanks Jack, there was a problem with the code and I removed <?php then it works if ($request_type == NONSSL) { require(DIR_WS_BOXES . 'whats_new.php'); }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.