Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I'm installing Security PRO but have a problem


MichelleDW

Recommended Posts

The documentation says to find

 

 if ($request_type == 'NONSSL') {

 

in catalog/includes/application_top.php and paste the code above it, but the application_top.php doesn't have that string (if that's the word I'm looking for).

Link to comment
Share on other sites

Maybe I haven't received a reply because I didn't actually ask the question...

 

The documentation says

 

 

 

1) Upload the uploads directory

 

Upload the upload directory ensuring to maintain the osCommerce directory structure. Please note that "catalog" is unlikely to exist it is just there to symbolise the root of your shop installation.

This one file is new so will have no affect on your shop at all.

catalog/includes/application_top.php

 

Find ...

if ($request_type == 'NONSSL') {

Add immediately ABOVE ...

// Security Pro by FWR Media

include_once DIR_WS_MODULES . 'fwr_media_security_pro.php';

$security_pro = new Fwr_Media_Security_Pro;

// If you need to exclude a file from cleansing then you can add it like below

//$security_pro->addExclusion( 'some_file.php' );

$security_pro->cleanse( $PHP_SELF );

// End - Security Pro by FWR Media

That's it .. all installed!

 

 

but there is no

 

 if ($request_type == 'NONSSL') {

 

So where do I put it?

 

Any help would be appreciated. Thanks

Link to comment
Share on other sites

What version are you using?

 

G

 

PS You normally get an answer from the author if you post in the support thread for the contribution.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Stock 2.3.1 includes applicatin top hasthat string t line 49 odd.

 

Are you looking in the admin application top?

 

HTH

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...