Fix log folder problem
Update for PS < 1.5.4.1. Module compatible from PS 1.4.x to 1.5.x