PEAK XOOPS - ImpressCMS protector patch request! in englishin japanese

ImpressCMS protector patch request!

List posts in the topic

happy ImpressCMS protector patch request!

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/29 8:01
vaughan  上等兵   Posts: 37
Hi gijoe

great work on the latest protector module.

I have made a couple of modifications to your latest module for use with ImpressCMS.

edited:

filters_disabled/postcommon_post_htmlpurify4guest.php

and added check for icms, so that if used with ImpressCMS 1.1 or later, then this filter will use the impresscms core HTMLPurifier library instead, it makes no sense for the protector library to be also loaded into memory when icms core library is already present.

I have also updated the HTMLPurifier library to the latest 3.20 standalone version, as I have found it is better on resources than the full package & contains less files.

also I have added a few notes to the README file, to explain how to install with ImpressCMS 1.1 or later, as you are aware, you don't need to edit mainfile.php when using impresscms because we use preload feature instead.

I have included the preload/protector.php file in the ImpressCMS_extras directory included in the patch.

with regards to the patch you include for databasefactory.php, this will no longer be required for ImpressCMS 1.1.2 or later, as I have applied your patch to the core from that version onwards.

you can download the patch here

it would be much appreciated if you could take a look over the edits, and possibly add to your next release.

regards

Vaughan
Votes:6 Average:6.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!