Cleanup of unused images DataLife Engine
Category: Plugins/Modules
- views: 2 341
- date: 4 January 2011
- posted by: doti04

The module spends clearing of pictures which aren't used on a site.
Algorithm of the module idle time, we take the complete list of files in a folder uploads/posts/* we fill table PREFIX_clean, and then we check on presence of images in table PREFIX_images if there is no that it is deleted.
Module options in the main file engine/inc/cleandisk.php they it is clear enough commented.
Installation:
1. To unpack archive in a root
2. To start install.php
Module functions:
To scan - scans a folder uploads/posts/* and in a package mode writes down in a DB of a way and names of pictures
To clear - filters pictures and deletes not necessary (in an automatic mode)
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









